Description Usage Arguments Details Author(s)
Provides the median (and CI) survival, mean (and CI) survival, and hazard ratios (and CI) for time to event analyses related to categorical variables.
1 |
data |
A data frame with the variable to be summarized |
vars |
A character vector of categorical variables to be used as predictors of survival |
byVar |
A character(1) vector of 0's and 1's indicating whether the subject is censored or experienced the event |
timeVar |
A character(1) vector giving the name of the variable with the survival time |
times |
A numeric(1) vector giving the time at which the mean survival should be calculated. |
This function is under active development and may change without notice.
Benjamin Nutter
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.