Learn R Programming

SubgrpID (version 0.12)

find.pred.stats: find.pred.stats

Description

Find predictive stats from response and prediction vector

Usage

find.pred.stats(data, yvar, trtvar, type, censorvar)

Value

a data frame of predictive statistics

Arguments

data

data frame with response and prediction vector

yvar

response variable name

trtvar

treatment variable name

type

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

censorvar

censoring variable name

Details

Find predictive stats from response and prediction vector