Description Usage Arguments Value Examples
View source: R/crossValidation.R
Cross Validation
1 | crossValidation(data, fu, event, k, ValidationFunction, nrRuns, ...)
|
data |
a data.frame which includes follow up time, event, and covariates. |
k |
a numeric value specifying k-fold cross validation. |
nrRuns |
a numeric value indicating the number of runs of cross validation is to be performed. |
... |
additional arguments to ValidationFunciton, see IBS, calibration,ROC. Could also be a userspecified ValidationFunction |
ValidationFunciton |
a function which validates a given model, inbuilt funcitons are IBS,ROC and Calibration. |
The function returns a large list of length nrRuns. Each element in the list contains all k elements from one run of cross validation.
1 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.