logit  R Documentation 
Compute the logit transformation of proportions or percentages.
logit(p, percents, adjust)
p 
numeric vector or array of proportions or percentages. 
percents 

adjust 
adjustment factor to avoid proportions of 0 or 1;
defaults to 
Computes the logit transformation logit = log[p/(1  p)] for the proportion p.
If p = 0 or 1, then the logit
is undefined. logit
can remap the proportions to the interval
(adjust, 1  adjust)
prior to the transformation. If it adjusts the data
automatically, logit
will print a warning message.
a numeric vector or array of the same shape and size as p
.
John Fox jfox@mcmaster.ca
Fox, J. and Weisberg, S. (2019) An R Companion to Applied Regression, Third Edition, Sage.
probabilityAxis
save.opt < options(digits=4) logit(.1*0:10) logit(.1*0:10, adjust=0) options(save.opt)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.