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 )Binary vector of outcomes
Dataframe expanded from the original data by
expand.data
Starting values for the rate parameters. If not supplied, then starting values are generated.
A glm object, with binomial error and logaritmic link.