Description Usage Arguments Value Examples
logit
and logistic
implement the logit and logistic transformations, respectively.
1 2 3 |
p |
A numeric vector whose components are numbers between 0 and 1. |
x |
A numeric vector. |
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)).
1 2 3 4 5 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.