fs.: Workhorse for fs Methods

Description Usage Arguments Details Value

View source: R/5.1-fs.R

Description

Used as a back-end wrapper for creating new fs methods.

Usage

1
fs.(object, top, uniqueFx, ...)

Arguments

object

An ExprsArray object to undergo feature selection.

top

A numeric scalar or character vector. A numeric scalar indicates the number of top features that should undergo feature selection. A character vector indicates specifically which features by name should undergo feature selection. Set top = 0 to include all features. A numeric vector can also be used to indicate specific features by location, similar to a character vector.

uniqueFx

A function call unique to the method. See Details.

...

Arguments passed to the detailed function.

Details

If the uniqueFx returns a character vector, it is assumed that the fs method is for feature selection only. If the uniqueFx returns a list, it is assumed that the fs method is a reduction model method only.

Value

Returns an ExprsArray object.


tpq/exprso documentation built on July 27, 2019, 8:44 a.m.