R/logit.R

#' A function to take logit
#'
#' See McElreaths Rethinking package for details
#'
#' @param 
#' x value
#' @return logit(x)
#' @export

logit = function (x) 
{
    log(x) - log(1 - x)
}
ctross/STRAND documentation built on Nov. 14, 2024, 11:50 p.m.