evaluate.results {SubgrpID}R Documentation

evaluate.results

Description

Get statistics for a single set of predictions.

Usage

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

Details

Get statistics for a single set of predictions.

Value

a list containing p-value and group statistics.


[Package SubgrpID version 0.12 Index]