| logitAdj | R Documentation | 
This function returns the logit value (log(x / (1 - x))) where a small value can be added to x to avoid problems of calculating the log when x equals 0 or 1.
logitAdj(x, epsilon = 0.01, base = 10)
| x | Numeric vector. | 
| epsilon | Value to add/subtract from x to ensure log of 0 or 1 is not taken (usually a small number). If  | 
| base | Base of logarithm. | 
Numeric equal to log((x + epsilon)/(1 - x + epsilon), base=base).
invLogitAdj
set.seed(123)
x <- seq(0, 1, by=0.01)
logitAdj(x)
logitAdj(x, 0.001)
invLogitAdj(x, 0.001)
invLogitAdj(x, 0.001)
invLogitAdj(x, auto = TRUE)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.