rs_data | R Documentation |
rs_data aims to mimic data from SwedeHF (RiksSvikt), used in the examples given in functions prep_sosdata, create_sosvar and create_deathvar.
rs_data
A data frame with 500 rows and 10 variables:
Patient id. Not unique. Integer.
Index date. Combination id and date is unique. Date.
Date of death or 2015-12-31 (censored). Date.
Time to death. Numeric.
Event (1 = death, 0 = censored). Numeric.
Event (Yes = death, No = censored). Character.
Event (Yes = death, No = censored). Factor.
Event (1 = death, 0 = censored). Numeric.
Variable with 4 levels. Integer.
Variable with 2 levels. Factor.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.