Compute the Natural Logarithm of Factorial in R Programming - lfactorial() Function Last Updated : 10 Jun, 2020 Comments Improve Suggest changes Like Article Like Report 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) lfactorial(5) Output: [1] 0 [1] 0 [1] 4.787492 Example 2: Python3 # R program to illustrate # lfactorial function # Calling the lfactorial() function lfactorial(-4) Output: [1] Inf Warning message: In lfactorial(-4) : value out of range in 'lgamma' Comment More infoAdvertise with us Next Article Compute the Natural Logarithm of Factorial in R Programming - lfactorial() Function K Kanchan_Ray Follow Improve Article Tags : R Language R Math-Function Similar Reads Calculating Natural Logarithm of calculated nCr value in R Programming - lchoose() Function lchoose() function in R Language is used to return the natural logarithm of nCr value. This function is equal to log(choose(x)). Syntax: lchoose(n, r) Parameters: n: Number of elements r: Number of combinations Example 1: Python3 # R program to illustrate # lchoose function # Calling lchoose() funct 1 min read Compute the Natural Logarithm of the Absolute Value of Gamma Function in R Programming - lgamma() Function lgamma() function in R Language is used to compute the natural logarithm of the absolute gamma value of a numeric vector computed using the gamma function. lgamma function is basically, lgamma(x) = ln(factorial(x - 1)) Syntax: lgamma(x) Parameters: x: Non-negative Numeric Vector Example 1: Python3 1 1 min read Compute the Logarithmic Derivative of the gamma Function in R Programming - digamma() Function digamma() function in R Language is used to calculate the logarithmic derivative of the gamma value calculated using the gamma function. digamma Function is basically, digamma(x) = d(ln(factorial(n-1)))/dx Syntax: digamma(x) Parameters: x: Numeric vector Example 1: Python3 1== # R program to find lo 1 min read Compute value of Log Normal Quantile Function in R Programming - qlnorm() Function qlnorm() function in R Language is used to compute the value of log normal quantile function. It also creates a plot of the quantile function of log normal distribution. Syntax: qlnorm(vec) Parameters: vec: x-values for normal density Example 1: Python3 1== # R program to compute value of # log norm 1 min read Compute the Exponential minus 1 of a Number in R Programming - expm1() Function 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] 22 1 min read Like