powered by
Computes the absolute value of x. Used in TMB as replacement for abs() which is seemingly ambiguous.
x
abs()
fabs(x)
An existing R object.
A wrapper on abs().
abs
()
Other translations: ilogit(), invlogit(), log<-(), logit<-(), logit(), phi(), pow()
ilogit()
invlogit()
log<-()
logit<-()
logit()
phi()
pow()
# NOT RUN { fabs(c(0, -1, 2)) # }
Run the code above in your browser using DataLab