Learn R Programming

robust (version 0.3-19)

print.glmfm: Print Method for glmfm Objects

Description

Displays the calls, coefficient estimates and residual deviance estimates for the glm and/or glmRob objects contained in a glmfm object.

Usage

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

Arguments

x
a glmfm object.
...
additional arguments required by the generic print function. In particular the 'digits' argument is useful for specifying the number of significant digits when displaying numeric output.

Value

  • x is invisibly returned.

See Also

fit.models, glmRob, glm, print.

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

Run the code above in your browser using DataLab