Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

recur_summary

Recurrent Event Summary Table by Group


Description

recur_summary Creates a table with summary of recurrent events

Usage

recur_summary(data, covar)

Arguments

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.

Details

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.

Value

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.


card

Cardiovascular and Autonomic Research Design

v0.1.0
MIT + file LICENSE
Authors
Anish S. Shah [aut, cre, cph] (<https://orcid.org/0000-0002-9729-1558>)
Initial release

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.