boxplot.PCA: Boxplot on PCA objects

View source: R/gr-PCA.R

boxplot.PCAR Documentation

Boxplot on PCA objects

Description

Boxplot on PCA objects

Usage

## S3 method for class 'PCA'
boxplot(x, fac = NULL, nax, ...)

Arguments

x

PCA, typically obtained with PCA

fac

factor, or a name or the column id from the $fac slot

nax

the range of PC to plot (1 to 99pc total variance by default)

...

useless here

Value

a ggplot object

Examples

bot.f <- efourier(bot, 12)
bot.p <- PCA(bot.f)
boxplot(bot.p)
p <- boxplot(bot.p, 1)
#p +  theme_minimal() + scale_fill_grey()
#p + facet_wrap(~PC, scales = "free")

MomX/Momocs documentation built on Nov. 18, 2023, 10:53 p.m.