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


ehrlichd/moRphomenses documentation built on March 10, 2024, 3:06 a.m.