filter.univariate {SubgrpID}R Documentation

filter.univariate

Description

Univariate Filtering

Usage

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

Details

Univariate Filtering

Value

covariate names after univariate filtering.


[Package SubgrpID version 0.12 Index]