evaluate.results: Get statistics for a single set of predictions.

Description Usage Arguments Value

Description

Get statistics for a single set of predictions.

Usage

1
2
evaluate.results(y, predict.data, censor.vec = NULL, trt.vec = NULL,
  trtref = NULL, type)

Arguments

y

data frame of the response variable.

predict.data

output of prediction function from kfold.cv.

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.

trtref

treatment reference.

type

data type - "c" - continuous , "b" - binary, "s" - time to event - default = "c".

Value

a list containing p-value and group statistics.


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