logit and logistic implement the logit and logistic transformations, respectively.
Usage
logit(p)
logistic(x)
Arguments
p
A numeric vector whose components are numbers between 0 and 1.
x
A numeric vector.
Value
The functions apply the logit and logistic transformation to each element of the vector
passed as argument.
In particular, logit(p)=ln(p/(1-p)) and logistic(x)=exp(x)/(1+exp(x)).