add_nevent {gtsummary} | R Documentation |
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 are among 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 |
|
... |
Additional arguments passed to or from other methods. |
Author(s)
Daniel D. Sjoberg
See Also
add_nevent.tbl_regression, add_nevent.tbl_uvregression, add_nevent.tbl_survfit
[Package gtsummary version 1.7.2 Index]