R/odd.logit.R

Defines functions odd.logit

Documented in odd.logit

#' Convert an odd into a logit
#'
#' Transforming odds into logits (the response from binomial glms)
#'
#' @param odds Odds
#' @return logit Log(odds)
#'
#' @keywords logit odds glm probability
#' @seealso \code{\link{logit.odd}}  \code{\link{logit.prob}} 
#' @family creditrisk
#' @export
#' 
#' @examples
#' odd.logit(1) # equals 0

odd.logit <- function(odds) {
    log(odds)
} 
stephlocke/optiRum documentation built on March 11, 2024, 2:25 a.m.