filter.unicart: rpart filtering (only for prognostic case)

Description Usage Arguments Value

Description

rpart filtering (only for prognostic case)

Usage

1
2
filter.unicart(data, type, yvar, xvars, censorvar, trtvar, trtref = 1,
  pre.filter = length(xvars))

Arguments

data

input data frame

type

"c" continuous; "s" survival; "b" binary

yvar

response variable name

xvars

covariates variable name

censorvar

censoring variable name 1:event; 0: censor.

trtvar

treatment variable name

trtref

code for treatment arm

pre.filter

NULL, no prefiltering conducted;"opt", optimized number of predictors selected; An integer: min(opt, integer) of predictors selected

Value

selected covariates after rpart filtering


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