R/logit-antilogit.R

Defines functions antilogit logit

#' @export
logit <- function(x) log(x / (1-x))
#' @export
antilogit <- function(x) {1 / (1 + exp(-x))}
ccamp83/mu documentation built on Sept. 10, 2023, 4:22 p.m.