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/bio.snowcrab documentation built on Nov. 6, 2024, 10:10 p.m.