gtsummary (version 1.3.6)

add_nevent: Add number of events to a regression table

Description

Adds a column of the number of events to tables created with tbl_regression or tbl_uvregression. Supported model types include GLMs with binomial distribution family (e.g. stats::glm, lme4::glmer, and geepack::geeglm) and Cox Proportion Hazards regression models (survival::coxph).

Usage

add_nevent(x, ...)

Arguments

x

tbl_regression or tbl_uvregression object

...

Additional arguments passed to or from other methods.

See Also

add_nevent.tbl_regression, add_nevent.tbl_uvregression, tbl_regression, tbl_uvregression