trimLogit | R Documentation |
computes the logit transformation on the truncated probabilities
trimLogit(x, trim = 1e-05)
x |
vector of probabilities. |
trim |
value to truncate probabilities at. Currently symmetric truncation (trim and 1-trim). |
logit transformed values
x <- c(0.00000001, 0.0001, 0.001, 0.01, 0.1, 0.3, 0.7, 0.9, 0.99,
0.999, 0.9999, 0.99999999)
trimLogit(x, trim = 0.001)
data.frame(Prob = x, Logit = qlogis(x), trimLogit = trimLogit(x, 0.001))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.