Get statistics for a single set of predictions.
evaluate.results(
y,
predict.data,
censor.vec = NULL,
trt.vec = NULL,
trtref = NULL,
type
)a list containing p-value and group statistics.
data frame of the response variable.
output of prediction function from kfold.cv.
data frame indicating censoring for survival data. For binary or continuous data, set censor.vec <- NULL.
data frame indicating whether or not the patient was treated. For the pronostic case, set trt.vec <- NULL.
treatment reference.
data type - "c" - continuous , "b" - binary, "s" - time to event - default = "c".
Get statistics for a single set of predictions.