Learn R Programming

exprso (version 0.2.0)

fsPrcomp: Reduce Dimensions by PCA

Description

fsPrcomp reduces dimensions using the prcomp function. The reduction model is saved and deployed automatically on any new data during model validation.

Usage

fsPrcomp(object, top = 0, ...)

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.

...

Arguments passed to the detailed function.

Value

Returns an ExprsArray object.