Learn R Programming

robust (version 0.3-0)

summary.glmfm: Summary Method for glmfm Objects

Description

Compute a summary of each glm or glmRob model in a glmfm object.

Usage

## S3 method for class 'glmfm':
summary(object, correlation = FALSE, ...)

Arguments

object
a glmfm object.
correlation
a logical value. If TRUE, correlation matrices of the coefficient estimates are included in each summary.
...
additional arguments required by the generic summary function.

Value

  • a list with class summary.glmfm whose elements are summaries of each model in object.

See Also

fit.models, summary, summary.glmRob, summary.glm.

Examples

Run this code
data(breslow.dat)
bres.fm <- fit.models(list(Robust = "glmRob", Classical = "glm"),
                      formula = sumY ~ Age10 + Base4*Trt,
                      family = poisson(), data = breslow.dat)
bres.sum <- summary(bres.fm)
bres.sum

Run the code above in your browser using DataLab