Arguments
- x
numeric vector with values in unit interval
Value
Returns a numeric vector of the transformed values.
Examples
x <- seq(from=0,to=1,length.out=100)
y <- logit(x=x)
graphics::plot(x=x,y=y,type="l")
graphics::abline(v=0.5,lty=2)
graphics::abline(h=0,lty=2)