add_nevent: Add number of events to a regression table

View source: R/add_nevent.R

add_neventR 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

tbl_regression or tbl_uvregression object

...

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


gtsummary documentation built on Jan. 13, 2023, 9:10 a.m.