filter.univariate: Univariate Filtering

Description Usage Arguments Value

Description

Univariate Filtering

Usage

1
2
filter.univariate(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

covariate names after univariate filtering.


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