R/invlogit.R

#R function for the logistic function
logit <- function (x) {
  log(x/(1-x))
}

invlogit <- function (x) {
    1/(1+exp(-x))
}

Try the arm package in your browser

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

arm documentation built on June 25, 2024, 1:14 a.m.