Skip to content
Related Articles
Get the best out of our app
GeeksforGeeks App
Open App
geeksforgeeks
Browser
Continue

Related Articles

Compute the Hyperbolic arccosine of numeric data in R Programming – acosh() Function

Improve Article
Save Article
Like Article
Improve Article
Save Article
Like Article

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
My Personal Notes arrow_drop_up
Last Updated : 10 Jun, 2020
Like Article
Save Article
Similar Reads