R/logit.R

Defines functions invlogit logit

logit <- function(x)
  return(log(x)-log(1-x))

invlogit <- function(x)
  return(exp(x)/(1+exp(x)))

Try the eco package in your browser

Any scripts or data that you put into this service are public.

eco documentation built on Aug. 1, 2017, 9:02 a.m.