filter.pca: filter.pca

Description Usage Arguments Value

View source: R/fs_functions.R

Description

Compute Principal Components from input matrix. Control how many components must be returned.

Usage

1
filter.pca(features, center = TRUE, scale = TRUE, cum.var.cutoff = 1)

Arguments

features

A numeric matrix as input.

center

Must the features be centered (default TRUE).

scale

Must the features be scaled (default TRUE).

cum.var.cutoff

Cumulative variance proportion cutoff. Used to return the Principal Componets (PCs) which satisfies that value. If 1 (default), all PCs will be returned.

Value

A matrix of Principal components.


enriquea/feseR documentation built on March 30, 2021, 4:12 p.m.