Compute the Hyperbolic arccosine of numeric data in R Programming – acosh() Function
acosh()
function in R Language is used to compute the hyperbolic arccosine of numeric data.
Syntax:acosh(x)
Parameters:
x: Numeric value, array or vector
Example 1:
# R program to illustrate # acosh function # Calling acosh() function over # different numbers acosh( 0 ) acosh( 1 ) |
Output:
[1] NaN [1] 0
Example 2:
# R program to illustrate # acosh function # Calling acosh() function over # different numbers acosh( 3 / 2 ) acosh( 2 ) |
Output:
[1] 0.9624237 [1] 1.316958
Please Login to comment...