Description Usage Arguments Value Author(s) References See Also Examples
The function computes the cross-validated partial likelihood (CVPL) for the Cox model.
| 1 2 | 
| x | data matrix | 
| surv.time | vector of times to event occurrence | 
| surv.event | vector of indicators for event occurrence | 
| strata | stratification variable | 
| nfold | number of folds for the cross-validation | 
| setseed | seed for the random generator | 
| na.rm | 
 | 
| verbose | verbosity of the function | 
| cvpl  | mean cross-validated partial likelihood (lower is better) | 
| pl  | vector of cross-validated partial likelihoods | 
| convergence  | vector of booleans reporting the convergence of the Cox model in each fold | 
| n  | number of observations used to estimate the cross-validated partial likelihood | 
Benjamin Haibe-Kains
Verweij PJM. and van Houwelingen H (1993) "Cross-validation in survival analysis", Statistics in Medicine, 12, pages 2305–2314
van Houwelingen H, Bruinsma T, Hart AA, van't Veer LJ, and Wessels LFA (2006) "Cross-validated Cox regression on microarray gene expression data", Statistics in Medicine, 25, pages 3201–3216.
| 1 2 3 4 5 6 7 8 9 | 
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.