R/invlogit.R

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

invlogit <- function (x) {
    1/(1+exp(-x))
}
suyusung/arm documentation built on April 5, 2024, 6:21 a.m.