Martingale Details of a Kaplan Meier Estmator

km_martingale(fit)

Arguments

fit

a Cox model object, i.e., the result of coxph.