plot_pca: plot_pca

View source: R/visualization.R

plot_pcaR Documentation

plot_pca

Description

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

Usage

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 Feb. 25, 2025, 12:20 a.m.