Learn R Programming

Momocs (version 1.0.0)

plot3: #' @describeIn plot.PCA #' @export mplot <- plot.PCA Plots a combination of the three first PCs

Description

Creates a 2 x 3 layout with, from top to bottom and form left to right: PC1-PC2, PC1-PC3, PC2-3, and the barplot of eigenvalues percentages.

Usage

plot3(PCA, ...)
"plot3"(PCA, ...)

Arguments

PCA
a PCA object
...
additional arguments to fed plot.PCA

Examples

Run this code
data(bot)
bot.f <- efourier(bot, 12)
bot.p <- PCA(bot.f)
plot3(bot.p) # no groups
plot3(bot.p, 1) # groups
plot3(bot.p, "type", pos.shp="circle") # all plot.PCA args should work

Run the code above in your browser using DataLab