R expm1 Function


expm1(x) function calculates exp(x) - 1.

expm1(x)


x: Numeric or complex vector

> expm1(2)

[1] 6.389056


> expm1(1)

[1] 1.718282


> expm1(0)

[1] 0


> expm1(10)

[1] 22025.47


endmemo.com © 2024  | Terms of Use | Privacy | Home