evaluate.cv.results {SubgrpID} | R Documentation |
evaluate.cv.results
Description
Take the raw output of kfold.cv and calculate performance statistics for each iteration of the cross-validation.
Usage
evaluate.cv.results(cv.data, y, censor.vec, trt.vec, type)
Arguments
cv.data |
output of prediction function from kfold.cv |
y |
data frame of the response variable from CV data. |
censor.vec |
data frame indicating censoring for survival data. For binary or continuous data, set censor.vec <- NULL. |
trt.vec |
data frame indicating whether or not the patient was treated. For the pronostic case, set trt.vec <- NULL. |
type |
data type - "c" - continuous , "b" - binary, "s" - time to event - default = "c" |
Details
Cross-validation Performance Evaluation
Value
a list containing raw statistics and fold information
[Package SubgrpID version 0.12 Index]