R/expit_function.R

Defines functions expit

Documented in expit

#' Expit.
#' 
#' Calculating the expit (inverse logit) of a number.
#' 
#' @export
expit <- function(x) {
  return(exp(x) / (1 + exp(x)))
}
gpapadog/Interference documentation built on Oct. 30, 2022, 9:20 p.m.