| fabs | R Documentation |
Computes the absolute value of x.
Used in TMB as replacement for abs() which is seemingly ambiguous.
fabs(x)
x |
An existing R object. |
A wrapper on abs().
A numeric vector of the corresponding absolute values.
Other translations:
exp10(),
exp2(),
ilog(),
ilog10(),
ilog2(),
ilogit(),
inv_logit(),
invlogit(),
log10<-(),
log2<-(),
log<-(),
logit(),
logit<-(),
phi(),
pow(),
step()
fabs(c(0, -1, 2))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.