Skip to content

Tag Archives: R Math-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:… Read More
curve() function in R Language is used to draw a curve for the equation specified in the argument. Syntax: curve(expression, to, from, col) Parameters: expression:… Read More
lbeta() function in R Language is used to return the natural logarithm of the beta function. The beta function is also known as Euler’s integral… Read More
beta() function in R Language is used to return the beta value computed using the beta function. The beta function is also known as Euler’s… Read More
atanh() function in R Language is used to compute the hyperbolic arctangent of numeric data. Syntax: atanh(x) Parameters: x: Numeric value, array or vector. Example… Read More
cospi() function in R Language is used to compute the cosine value of x which is the multiples of pi. Syntax: cospi(x) Parameters: x: Numeric… Read More
combn() function in R Language is used to generate all combinations of the elements of x taken m at a time. Syntax: combn(x, m) Parameters:… Read More
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:… Read More
mean() function in R Language is used to calculate the arithmetic mean of the elements of the numeric vector passed to it as argument. Syntax:… Read More
log() function in R Language returns the natural logarithm (base-e logarithm) of the argument passed in the parameter. Syntax: log(x) Parameter: x: Specified value. Returns:… Read More
floor() function in R Language returns the largest integer that is smaller than or equal to value passed to it as argument(i.e : rounds downs… Read More
median() function in R Language is used to calculate the median of the elements of the numeric vector passed as argument. Syntax: median(x, na.rm) Parameters:… Read More
cumprod() function in R Language is used to calculate the cumulative product of the vector passed as argument. Syntax: cumprod(x) Parameters: x: Numeric Object Example… Read More
cos() function in R Language is used to calculate the cosine value of the numeric value passed to it as argument. Syntax: cos(x) Parameter: x:… Read More
sqrt() function in R Language is used to calculate the mathematical square-root of the value passed to it as argument. Syntax: sqrt(x) Parameter: x: Any… Read More

Start Your Coding Journey Now!