R/helper.R

Defines functions expit

Documented in expit

#' Expit
#'
#' @param x numeric vector
#' @return exp(x)/(1+exp(x))
#' @examples expit(1)
expit<-function(x){
    return(exp(x)/(1+exp(x)))
}

Try the EHRmuse package in your browser

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

EHRmuse documentation built on Aug. 8, 2025, 6:39 p.m.