Uses ReliefF algorithm from the CORElearn package to rank predictors in order of importance.
relieff_filter(
y,
x,
nfilter = NULL,
estimator = "ReliefFequalK",
type = c("index", "names", "full"),
...
)Integer vector of indices of filtered parameters (type = "index") or
character vector of names (type = "names") of filtered parameters. If
type is "full" a named vector of variable importance is returned.
Response vector
Matrix or dataframe of predictors
Number of predictors to return. If NULL all predictors are
returned.
Type of algorithm used, see CORElearn::attrEval
Type of vector returned. Default "index" returns indices, "names" returns predictor names, "full" returns a named vector of variable importance.
Other arguments passed to CORElearn::attrEval
CORElearn::attrEval()