R/expit.R

Defines functions expit

Documented in expit

#' expit function
#'
#'
#' @description literally just the expit function
#'
#' @param x the number to expit
#' @return the expited version of x
#'
#' @export

expit <- function(x) {
  return(exp(x)/(1+exp(x)))
}
lulizou/spASE documentation built on May 22, 2024, 5:24 a.m.