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).
add_nevent(x, ...)
tbl_regerssion
or tbl_uvregression
object
Additional arguments passed to or from other methods.
add_nevent.tbl_regression, add_nevent.tbl_uvregression, tbl_regression, tbl_uvregression