JS.g3: General survival statistics for variable that has three...

Description Usage Arguments Value Examples

Description

JS.g3 output the table with general survival analysis result with HR(95% Confidence Interval),P value

Usage

1
JS.g3(..., Gname)

Arguments

...

arguments will be passed to coxph

Gname

Name of the row , required

Value

A dataframe of coxph output including HR(95% Confidence Interval), P value

Examples

1
2
Model1 <- JS.g3(Surv(as.numeric(pd_surv), pd_censor) ~ as.factor(tr_group) , data = D, Gname = "Treatment")
Model2 <- JS.g3(Surv(as.numeric(pd_surv), pd_censor) ~ as.factor(tr_group) + age_m, data = D, Gname = "Treatment adjusted by age")

SophiaJia/Jsurvformat documentation built on May 9, 2019, 1:52 p.m.