glmList Fit from a groupedData Object

DESCRIPTION:

The response variable and primary covariate in formula(object) are used to construct the linear model formula. This formula and the groupedData object are passed as the object and data arguments to glmList.formula, together with any other additional arguments in the function call. See the documentation on glmList for a description of that function.

USAGE:

glmList(object, data, family, level, weights, subset, na.action,
        pool, control)

REQUIRED ARGUMENTS:

object
a data frame inheriting from class groupedData.
data
this argument is included for consistency with the generic function. It is ignored in this method function.
other arguments
identical to the arguments in the generic function call. See the documentation for glmList.

VALUE:

an object of class glmList, also inheriting from class lmList, corresponding to a list of glm objects with as many components as the number of groups defined by the grouping factor. Generic functions such as coef, fixef , lme, pairs , plot, predict , ranef, summary , and update have methods that can be applied to a glmList object.

SEE ALSO:

, , ,

EXAMPLES:

Clinic.gp <- groupedData(resp ~ trt | clinic, data=Clinic)
fm1 <- glmList(Clinic.gp, family = binomial)