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/snowcrab documentation built on Aug. 25, 2024, 7:30 p.m.