invLogitAdj | R Documentation |
This function is the inverse of logitAdj
. That function calculates the logit of values but is robust to cases where the operand is 0 or 1. The adjusted inverse logit is equal to (base^x + epsilon * base^x - epsilon) / (base^x + 1)
.
invLogitAdj(x, epsilon = 0.01, base = 10, auto = FALSE)
x |
Numeric vector. |
epsilon |
Value or character. If a numeric value (typically ~0.01 or smaller), then this is added/subtracted from |
base |
Base of logarithm. Use |
auto |
If |
Numeric.
logitAdj
x <- seq(0, 1, by=0.1)
y <- logitAdj(x)
xx <- invLogitAdj(y, auto = TRUE)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.