Learn R Programming

exprso (version 0.2.0)

fsInclude: Select Features by Explicit Reference

Description

fsInclude selects features passed to the include argument.

Usage

fsInclude(object, top = 0, include)

Arguments

object

Specifies the 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.

include

A character vector. The names of features to rank above all others. This preserves the feature order otherwise. Argument for fsInclude only.

Value

Returns an ExprsArray object.