print.summary.glmglrt: Prints the summary generated by 'summarylr'

Description Usage Arguments See Also Examples

Description

This function prints a summary.glmglrt object generated by summarylr. It works like the standard summary.glm function but additionnally displays columns showing Rao or LRT P-values.

Usage

1
2
3
4
5
6
7
8
9
## S3 method for class 'summary.glmglrt'
print(
  x,
  ...,
  has.Pvalue = TRUE,
  tst.ind = 3,
  debuglevel = NULL,
  keep.wald = NULL
)

Arguments

x

a summary.glmglrt object generated by summarylr.

...

additional arguments passed to stats::print.summary.glm then printCoefmat. The most useful ones are digits and signif.stars.

has.Pvalue

logical value; passed to printCoefmat; if TRUE, the P-value column is formatted by format.pval.

tst.ind

integer vector of length>=0; passed to printCoefmat; it changes the format of these columns, assuming they are statistics columns.

debuglevel

NULL or integer value; set to NULL to use the debuglevel argument that was specified in summarylr, 0 (default) to disable warnings, 1 to enable warnings and 2 to enable warnings and notes.

keep.wald

NULL or logical; set to NULL to use the keep.wald argument that was specified in summarylr. If TRUE, the standard Wald's P-values are displayed. If FALSE, the standard Wald's P-values are hidden.

See Also

Other Extended GLM summary functions: override_summary(), summarylr()

Examples

1
2
model = glm(family="binomial", cbind(50,30) ~ 1)
print(summarylr(model),signif.stars=FALSE,digits=10)

glmglrt documentation built on Aug. 7, 2020, 9:10 a.m.