surv_multi {survout} | R Documentation |
Modify the Output for a Multi-variable Survival Analysis.
Description
Create a table with the general multi-variable survival analysis results, including the HR (95 percent CI), P value.
Usage
surv_multi(...)
Arguments
... |
arguments will be passed to coxph |
Value
a dataframe containing coxph output that includes variable names, HRs (95
Examples
Dat <- survival::lung
surv_multi(survival::Surv(time, status) ~ as.factor(sex) + age + meal.cal, data = Dat)
[Package survout version 0.1.0 Index]