R/inverse.logit.r

Defines functions inverse.logit

inverse.logit = function( x ) {
  # x should be the log odds ratio
  oddsratio = exp(x)
  prob = oddsratio / (1 + oddsratio )
  return (prob)
}
jae0/carstm documentation built on June 12, 2025, 6:34 p.m.