Mathematical, Calculus, and Others
These are the available functions for math, calculus, and so on. See each function's help topic in the TERR Language Reference for more information.
Function name | Title description |
---|---|
!=
|
Comparison Operators |
%/%
|
Arithmetic Operators |
%%
|
Arithmetic Operators |
^
|
Arithmetic Operators |
+
|
Arithmetic Operators |
<
|
Comparison Operators |
<=
|
Comparison Operators |
==
|
Comparison Operators |
abs
|
Absolute Value |
acos
|
Inverse Trigonometric Functions |
acosh
|
Inverse Hyperbolic Trigonometric Functions |
anyNA
|
Quickly check for missing (NA) values |
approx
|
Interpolation Functions |
approxfun
|
Interpolation Functions |
Arithmetic
|
Arithmetic Operators |
asin
|
Inverse Trigonometric Functions |
asinh
|
Inverse Hyperbolic Trigonometric Functions |
atan
|
Inverse Trigonometric Functions |
atan2
|
Inverse Trigonometric Functions |
atanh
|
Inverse Hyperbolic Trigonometric Functions |
besselI
|
Bessel functions |
besselJ
|
Bessel functions |
besselK
|
Bessel functions |
besselY
|
Bessel functions |
ceiling
|
Integer Values |
choose
|
Factorial, Combinations, and Permutations |
colMeans
|
Row and Column Summaries |
colSums
|
Row and Column Summaries |
combn
|
Generate combinations of m elements out of x |
Comparison
|
Comparison Operators |
cos
|
Trigonometric Functions |
cosh
|
Hyperbolic Trigonometric Functions |
cospi
|
Trigonometric Functions |
cummax
|
Cumulative Maxima and Minima |
cummin
|
Cumulative Maxima and Minima |
cumprod
|
Cumulative Sums and Products |
cumsum
|
Cumulative Sums and Products |
diff
|
Create an Object of Differences |
diff.Date
|
Create an Object of Differences |
diff.default
|
Create an Object of Differences |
diff.POSIXt
|
Create an Object of Differences |
diff.ts
|
Create an Object of Differences |
digamma
|
Gamma Function (and Its Derivatives and Logarithm) |
exp
|
Exponential and related Functions |
expm1
|
Exponential and related Functions |
factorial
|
Factorial, Combinations, and Permutations |
floor
|
Integer Values |
gamma
|
Gamma Function (and Its Derivatives and Logarithm) |
is.finite
|
Check IEEE Arithmetic Values |
is.infinite
|
Check IEEE Arithmetic Values |
is.nan
|
Check IEEE Arithmetic Values |
lchoose
|
Factorial, Combinations, and Permutations |
lfactorial
|
Factorial, Combinations, and Permutations |
lgamma
|
Gamma Function (and Its Derivatives and Logarithm) |
log
|
Exponential and related Functions |
log10
|
Exponential and related Functions |
log1p
|
Exponential and related Functions |
log2
|
Exponential and related Functions |
logb
|
Exponential and related Functions |
Math.data.frame
|
Math Group Method for Data Frame Objects |
max
|
Extremes |
mean
|
Mean Value (Arithmetic Average) |
mean.data.frame
|
Mean Value (Arithmetic Average) |
mean.Date
|
Mean Value (Arithmetic Average) |
mean.default
|
Mean Value (Arithmetic Average) |
mean.difftime
|
Mean Value (Arithmetic Average) |
mean.POSIXct
|
Mean Value (Arithmetic Average) |
mean.POSIXlt
|
Mean Value (Arithmetic Average) |
median
|
Median |
median.default
|
Median |
min
|
Extremes |
nextn
|
Highly Composite Numbers |
optimHess
|
Numerically Estimate Hessian Matrix |
pmax
|
Parallel Maximum or Minimum |
pmax.int
|
Parallel Maximum or Minimum |
pmin
|
Parallel Maximum or Minimum |
pmin.int
|
Parallel Maximum or Minimum |
polyroot
|
Find the Roots of a Polynomial |
prod
|
Sums and Products |
psigamma
|
Gamma Function (and Its Derivatives and Logarithm) |
quantile
|
Empirical Quantiles |
range
|
Get the Range of Data |
rank
|
Ranks of Data |
round
|
Rounding Functions |
rowMeans
|
Row and Column Summaries |
rowSums
|
Row and Column Summaries |
signif
|
Rounding Functions |
sin
|
Trigonometric Functions |
sinh
|
Hyperbolic Trigonometric Functions |
sinpi
|
Trigonometric Functions |
spline
|
Interpolating Splines |
splinefun
|
Interpolating Splines |
splinefunH
|
Interpolating Splines |
sqrt
|
Exponential and related Functions |
sum
|
Sums and Products |
tan
|
Trigonometric Functions |
tanh
|
Hyperbolic Trigonometric Functions |
tanpi
|
Trigonometric Functions |
trig
|
Trigonometric Functions |
trigamma
|
Gamma Function (and Its Derivatives and Logarithm) |
trunc
|
Integer Values |
which.max
|
Find the Index of the Minimum or Maximum Value |
which.min
|
Find the Index of the Minimum or Maximum Value |
xtfrm
|
Sorting and Ranking |
zapsmall
|
Coerce Small Numbers to Zero for Printing |
Parent topic: Mathematics