Description Usage Arguments Details Value
View source: R/recurrent-events.R
recur_summary
Creates a table with summary of
recurrent events
1 | recur_summary(data, covar)
|
data |
Recurrent event data in marginal format. There must be an ID column. Must merge in the covariate of interest into this data set. |
covar |
Name of covariate of interest to serve as grouping variable. |
This function allows for taking the output of card::recur_survival_table marginal format repeat event data, and creates a summary table that describes the number of events by strata/event.
Summary table by grouping variable, can be placed into a latex environment with kableExtra. Assumes that death events may be present when most recent non-EVENT has status 1.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.