evaluate.cv.results: Cross-validation Performance Evaluation

Description Usage Arguments Value

Description

Take the raw output of kfold.cv and calculate performance statistics for each iteration of the cross-validation.

Usage

1
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"

Value

a list containing raw statistics and fold information


SubgrpID documentation built on May 2, 2019, 8:02 a.m.