Description Usage Arguments Value Examples

View source: R/binomfit_lims.R

The function fits a binomial generalised liner model with fixed guessing and lapsing rates

1 | ```
binomfit_lims( r, m, x, p = 1, link = c( "logit" ), guessing = 0, lapsing = 0, K = 2 )
``` |

`r` |
number of successes in points x |

`m` |
number of trials in points x |

`x` |
stimulus levels |

`p` |
degree of the polynomial to be fitted on the linear scale; default is 1 |

`link` |
link function; default is "logit" |

`guessing` |
guessing rate; default is 0 |

`lapsing` |
lapsing rate; default is 0 |

`K` |
power parameter for Weibull and reverse Weibull link; default is 2 |

`value` |
Object with 2 components: b: vector of estimated coefficients for the linear part fit: glm object to be used in evaluation of fitted values |

1 2 | ```
data( "01_Miranda" )
value <- binomfit_lims( example01$r, example01$m, example01$x )
``` |

Embedding an R snippet on your website

Add the following code to your website.

For more information on customizing the embed code, read Embedding Snippets.