combo_filter: Combo filter

View source: R/filters.R

combo_filterR Documentation

Combo filter

Description

Filter combining univariate (t-test or anova) filtering and reliefF filtering in equal measure.

Usage

combo_filter(y, x, nfilter, type = c("index", "names", "full"), ...)

Arguments

y

Response vector

x

Matrix of predictors

nfilter

Number of predictors to return, using 1/2 from ttest_filter or anova_filter and 1/2 from relieff_filter. Since unique is applied, the final number returned may be less than nfilter.

type

Type of vector returned. Default "index" returns indices, "names" returns predictor names, "full" returns full output.

...

Optional arguments passed via relieff_filter to CORElearn::attrEval

Value

Integer vector of indices of filtered parameters (type = "index") or character vector of names (type = "names") of filtered parameters. If type is "full" a list containing full outputs from either ttest_filter or anova_filter and relieff_filter is returned.


nestedcv documentation built on Oct. 23, 2022, 5:06 p.m.