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 April 1, 2024, 3:01 p.m.