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