Open In App

Compute the Hyperbolic arcsine of numeric data in R Programming – asinh() Function

Last Updated : 10 Jun, 2020
Improve
Improve
Like Article
Like
Save
Share
Report

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

Like Article
Suggest improvement
Previous
Next
Share your thoughts in the comments

Similar Reads