Learn R Programming

robust (version 0.3-4)

print.summary.glmfm: Print Method for summary.glmfm Objects

Description

Displays a side-by-side comparison of the summaries in a summary.glmfm object.

Usage

## S3 method for class 'summary.glmfm':
print(x, ...)

Arguments

x
a summary.glmfm object.
...
additional arguments required by the generic print function.

Value

  • x is invisibly returned.

See Also

summary.glmfm.

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)
print(bres.sum)
print(bres.sum, digits = 4)

Run the code above in your browser using DataLab