Calculates logit, log(x/(1-x)) = log(x) - log(1-x)
logit(x)
x
Value between 0 and 1, or vector of such values
logit value
logit(0.5) logit(seq(0, 1, 0.1))