cvpl {survcomp}R Documentation

Function to compute the CVPL

Description

The function computes the cross-validated partial likelihood (CVPL) for the Cox model.

Usage

cvpl(x, surv.time, surv.event, strata.cox = NULL, nfold = 1, setseed = NULL, na.rm = FALSE, verbose = FALSE)

Arguments

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

Details

The function is not fully implemented yet

Value

-1

Author(s)

Benjamin Haibe-Kains

References

~put references to the literature/web site here ~

See Also

logpl, coxph


[Package survcomp version 1.0 Index]