powered by
Calculates the logit or the inverse logit of a value
logit(prob, base = exp(1))invlogit(alpha, base = exp(1))
invlogit(alpha, base = exp(1))
vector of probabilities
base of the logarithmic function to use
vector of values to find the inverse logit of
A numeric vector
# NOT RUN { logit(0.5) logit(seq(0.01, 0.99, 0.01)) invlogit(-10:10) # }
Run the code above in your browser using DataLab