Skip to contents

Function to calculate c-index from a an AFCM or LFCM fit

Usage

extract_c(fit, survival_time, event)

Arguments

fit

fit AFCM or LFCM model fit object.

survival_time

Vector of survival/censoring times

event

Survival statust (0 = censored, 1 = event)

Value

c-index

Author

Erjia Cui