combo_filter function

Combo filter

Combo filter

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

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

Arguments

  • y: Response vector

  • x: Matrix or dataframe 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

Returns

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.

  • Maintainer: Myles Lewis
  • License: MIT + file LICENSE
  • Last published: 2025-03-10