Description Usage Arguments Value Examples
Logit link for use with GLM functions. The guessing and lapsing rate are fixed to values given in lims, hence link is a function of only one variable
| 1 | logit_link( guessing = 0, lapsing = 0 )
 | 
| guessing | guessing rate; default is 0 | 
| lapsing | lapsing rate; default is 0 | 
| link | Logit link for use in all GLM functions | 
| 1 2 3 4 5 6 7 8 9 | data( "01_Miranda" )
x <- example01$x
r <- example01$r
m <- example01$m
glmdata <- data.frame( cbind( r/m ,m , x ) )
names( glmdata ) <- c( "resp", "m", "x" )
glmformula <- c( "resp ~ x" )
userlink<-logit_link( 0.1, 0.1 )
fit <- glm( glmformula, data = glmdata, weights = m, family = binomial( userlink ) )
 | 
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.