override_summary {glmglrt} | R Documentation |
Overrides the Generalized Linear Models summary methods
Description
This function overrides the summary.glm
and summary.negbin
S3 methods
by the summarylr
function in the calling environment.
Usage
override_summary()
Details
Although some minor compatibility issues may exist when calling this function in the global environment,
most scripts should work with it. Indeed summarylr
behaves like summary.glm
but adds a $extra field containing P-value info. The first letter of the field name ('e') is unique, avoiding problems
with scripts that access fields with short names (e.g. model$x for model$xlevels).
See Also
Other Extended GLM summary functions:
print.summary.glmglrt()
,
summarylr()
Examples
model = glm(family="binomial", cbind(50,30) ~ 1)
override_summary()
summary(model) # Additional 'LRT P-value' column
[Package glmglrt version 0.2.2 Index]