surv_multi: Modify the Output for a Multi-variable Survival Analysis.

surv_multiR 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)


SophiaJia/Survout documentation built on Oct. 1, 2022, 9:52 p.m.