Learn R Programming

crosstable (version 0.8.0)

effect_survival: Effect measure for association between one censored variable and one categorical variable

Description

Effect measure for association between one censored variable and one categorical variable

Usage

effect_survival_coxph(x, by, conf_level = 0.95)

Value

a list with two components: p.value and method

Arguments

x

survival vector (made using survival::Surv())

by

categorical vector (of exactly 2 unique levels)

conf_level

confidence interval level

Author

Dan Chaltiel, David Hajage