powered by
logit function
logit(x)
Returns a numeric vector of the transformed values.
numeric vector with values in unit interval
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)
Run the code above in your browser using DataLab