Compute the Exponential minus 1 of a Number in R Programming - expm1() Function Last Updated : 10 Jun, 2020 Comments Improve Suggest changes Like Article Like Report expm1() function in R Language is used to compute exponential minus 1 i.e, exp()-1. Syntax: expm1(x) Parameters: a, b: number or number vector Example 1: Python3 # R program to illustrate # expm1 function # Calling the expm1() function expm1(4) # e5 -1 expm1(10) expm1(15) Output: [1] 53.59815 [1] 22025.47 [1] 3269016 Example 2: Python3 # R program to illustrate # expm1 function # Calling the expm1() function expm1(rep(1:5)) expm1(rep(5:8)) Output: [1] 1.718282 6.389056 19.085537 53.598150 147.413159 [1] 147.4132 402.4288 1095.6332 2979.9580 Comment More infoAdvertise with us Next Article Compute the Exponential minus 1 of a Number in R Programming - expm1() Function K Kanchan_Ray Follow Improve Article Tags : R Language R Math-Function Similar Reads Calculate exponential of a number in R Programming - exp() Function exp() function in R Language is used to calculate the power of e i.e. e^y or we can say exponential of y. The value of e is approximately equal to 2.71828â¦.. Syntax: exp(y) Parameters: y: It is any valid R number either positive or negative. Returns: Floating point number by calculating e^y. Example 1 min read Calculate Inverse cosine of a value in R Programming - acos() Function acos() function in R Language is used to calculate the inverse cosine value of the numeric value passed to it as argument. Syntax: acos(x) Parameter: x: Numeric value Example 1: Python3 1== # R code to calculate inverse cosine of a value # Assigning values to variables x1 <- -1 x2 <- 0.5 # Usi 1 min read Compute the Natural Logarithm of Factorial in R Programming - lfactorial() Function lfactorial() function in R Language is used to compute the natural logarithm of factorial of x i.e, ln(x!). Syntax: lfactorial(x) Parameters: x: positive numeric value Example 1: Python3 # R program to illustrate # lfactorial function # Calling the lfactorial() function lfactorial(0) lfactorial(1) l 1 min read Compute the Logistic Density in R Programming - dlogis() Function dlogis() function in R Language is used to compute logistic density of the distribution. It also creates a plot of the density of the logistic distribution. Syntax: dlogis(vec) Parameters: vec: Vector of x-values for density Example 1: Python3 1== # R program to calculate # logistic density # Create 1 min read Convert a Numeric Object to Character in R Programming - as.character() Function as.character() function in R Language is used to convert a numeric object to character object. Syntax: as.character(x) Parameters: x: Numeric Object Example 1: Python3 1== # R program to convert a numeric object # to character object # Calling as.character() function as.character(1) as.character(2 + 1 min read Like