R/logit_to_prob.r

Defines functions logit_to_prob

Documented in logit_to_prob

# logit_to_prob ----
logit_to_prob <- function(logit){
  odds <- exp(logit)
  prob <- odds / (1 + odds)
  return(prob)
}
ha-pu/supportR documentation built on Sept. 13, 2020, 5:52 p.m.