plot_pca: plot_pca

Description Usage Arguments Value

View source: R/visualization.R

Description

This function plots the Standard Desviation, Proportion of Variances, Accumulative Variance for each Principal Component, it returns a set of plots.

Usage

1
plot_pca(features, class, center = TRUE, scale = TRUE, list.plot = TRUE)

Arguments

features

A numeric matrix as input.

class

Response variable as numeric vector.

center

Must the features be centered (default TRUE).

scale

Must the features be scaled (default TRUE).

list.plot

If TRUE (default), return a list the plots summarizing the PCA process. If FALSE, return a simple plot (PC1 vs. PC2).

Value

A list of plots.


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