surv_multi {survout} | R Documentation |
Create a table with the general multi-variable survival analysis results, including the HR (95 percent CI), P value.
surv_multi(...)
... |
arguments will be passed to coxph |
a dataframe containing coxph output that includes variable names, HRs (95
Dat <- survival::lung
surv_multi(survival::Surv(time, status) ~ as.factor(sex) + age + meal.cal, data = Dat)