fit.baseline | R Documentation |
Utility function
Fits a binomial model with logaritmic link, with y
as outcome
and covariates in rates.frame
to estimate rates in the
inttervals between breaks
.
fit.baseline( y, rates.frame, start )
y |
Binary vector of outcomes |
rates.frame |
Dataframe expanded from the original data by
|
start |
Starting values for the rate parameters. If not supplied, then starting values are generated. |
A glm
object, with binomial error and logaritmic link.
Martyn Plummer, martyn.plummer@r-project.org
fit.add
fit.mult
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.