R/invlogit.R

Defines functions invlogit

Documented in invlogit

#' inverse logit
#' 
#' does what you want
#' 
#' @seealso \code{\link[chf]{logit}}
#' @param a the numberic vector to which the deed is done
#' @return numeric vector deed done
#' @export
#' @examples
#' anum <- 0.48
#' logit_anum <- log(anum/(1 - anum))
#' 
#' invlogit(logit_anum)

invlogit <- function(a) exp(a) / (exp(a) + 1)
williamcioffi/chf documentation built on June 9, 2022, 5:38 p.m.