R/logit.R

Defines functions logit

Documented in logit

logit <- function( p ){ 

# Logit transform of probability p

infinity <- 1.0e30

psmall <- 1.0e-10

pbig <- 1 - 1.0e-7

tmp <- pmin( pbig, pmax( p, psmall ) )

return( log( tmp/(1-tmp) ) )     }

Try the asypow package in your browser

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

asypow documentation built on May 2, 2019, 2:37 a.m.