plotPCA_fviz_screeplot: Scree Plot for PCA

View source: R/dataPreprocessing.R

plotPCA_fviz_screeplotR Documentation

Scree Plot for PCA

Description

Creates a scree plot to visualize the explained variance by principal components from a PCA result.

Usage

plotPCA_fviz_screeplot(pca_result, title = NULL)

Arguments

pca_result

The result of a PCA analysis (object returned from 'performPCA').

title

An optional title for the scree plot. If NULL, a default title will be used.

ncp

Number of principal components

Value

A ggplot object representing the scree plot.


neobernad/evaluomeR documentation built on Nov. 12, 2024, 11:29 p.m.