prim.train.prog.once: Apply PRIM one time on the training data for a fixed value of...

Description Usage Arguments Value

Description

this function applies the prim procedure (peeling, pasting, and dropping operations) on training data one time.

Usage

1
2
prim.train.prog.once(data, yvar, censorvar, xvars, type, des.res, alpha = 0.1,
  min.size.inside = 20, pidx.train.test)

Arguments

data

input data frame

yvar

name for response variable

censorvar

name for censoring (1: event; 0: censor), default = NULL

xvars

vector of variable names for predictors (covariates)

type

type of response variable: "c" continuous (default); "s" survival; "b" binary

des.res

the desired response. "larger": prefer larger response (default) "smaller": prefer smaller response

alpha

a parameter controlling the number of patients in consideration

min.size.inside

desired number of subjects in signature positive group size for a given cutoff.

pidx.train.test

training and test data index as obtained from create.training.dataset.index

Value

a list containing signature rules and test result based on the signatures.


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