pca: Perform a PCA rebust analisys un er a input data frame.

Description Usage Arguments Value

View source: R/pca.R

Description

Perform a PCA rebust analisys un er a input data frame.

Usage

1
pca(df, scale = TRUE, robust = "MVE", nsamp = 10)

Arguments

df

a input dataframe.

scale

scale variables before apply PCA analisys.

robust

select PCA method (S-estimator, MCD, or MVE).

nsamp

The number of subsamples that the robust estimator should use. This defaults to 10 times the number of rows in the matrix.

Value

a pca analisys result.


adrianmarino/commons documentation built on Dec. 18, 2021, 10:30 p.m.