cvpl {survcomp} | R Documentation |
The function computes the cross-validated partial likelihood (CVPL) for the Cox model.
cvpl(x, surv.time, surv.event, strata.cox = NULL, nfold = 1, setseed = NULL, na.rm = FALSE, verbose = FALSE)
x |
data matrix |
surv.time |
vector of times to event occurrence |
surv.event |
vector of indicators for event occurrence |
strata.cox |
stratification variable |
nfold |
number of folds for the cross-validation |
setseed |
seed for the random generator |
na.rm |
TRUE if the missing values should be removed from the data, FALSE otherwise |
verbose |
verbosity of the function |
The function is not fully implemented yet
-1
Benjamin Haibe-Kains
~put references to the literature/web site here ~