Description Usage Arguments Details Author(s)
Provides a summary table of univariable survival metrics.
The default summaries include summary values similar to
cattable
and conttable
, but also includes the
hazard ratio, p-value, and the median survival.
Additionally, the survival proportions for user specified
time points may be given.
1 2 |
data |
A data frame |
vars |
Variables to be summarized |
byVar |
The event variable. May be 0/1 or a two category factor/character |
time.var |
Variable giving the survival time |
times |
The times argument passed to
|
vars.cat |
Numeric variables in 'vars' to force as categorical variables |
event.level |
For non-numeric |
normal |
a character vector naming numeric variables to be summarized by mean and standard deviation. |
quartile |
Should non-normal numeric variables be
summarized with the interquartile range. If |
row.p |
For categorical variables, should the percentage show the row percentage? |
The table produced is similar to the cattable
format, but the output may not be as flexible.
Benjamin Nutter
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.