mm_pretty_pca: Plot Calendar Days

View source: R/explore.R

mm_pretty_pcaR Documentation

Plot Calendar Days

Description

Pretty PCA

Usage

mm_pretty_pca(PCA, xPC = 1, yPC = 2, clas_col = NULL, legend_cex = 0.8)

Arguments

PCA

Input data either prcomp or mmPCA.

xPC

The PC to plot on the x axis

yPC

The PC to plot on the y axis

clas_col

A character vector of groupings. Each level will be plotted as a different color.

legend_cex

A scaling factor to be applied specifically to the legend. Set to NULL for scatterplot only.

Details

A better PCA plot

Value

Returns no object, plots results of PCA


ehrlichd/moRphomenses documentation built on Dec. 13, 2024, 8:36 a.m.