logit | R Documentation |
Computes the logit transformation
logit(x)
x |
a numeric vector |
x <=0 or >=1 will return NA
log(x/(1-x))
Julian Faraway
ilogit
logit(c(0.1,0.5,1.0,1.1)) #[1] -2.197225 0.000000 NA NA
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.