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)
} 

Try the optiRum package in your browser

Any scripts or data that you put into this service are public.

optiRum documentation built on May 5, 2022, 1:05 a.m.