link: Some link functions.
Description
Logit, probit and cloglog functions are available.
The logit and the logistic (with rev = TRUE), i.e. the inverse-logit functions.
Probit is a wrapper around qnorm
(for \(probit\)) and pnorm
(for \(probit^{-1}\))
Complementary log-log transformation.
Usage
logit(x, rev = FALSE)probit(x, rev = FALSE)
cloglog(x, rev = FALSE)
Arguments
- x
A numeric vector.
- rev
The inverse of the function?