Learn R Programming

tidylearn (version 0.1.0)

plot_variance_explained: Plot Variance Explained (PCA)

Description

Create combined scree plot showing individual and cumulative variance

Usage

plot_variance_explained(variance_tbl, threshold = 0.8)

Value

A ggplot object

Arguments

variance_tbl

Variance tibble from tidy_pca

threshold

Horizontal line for variance threshold (default: 0.8 for 80%)