barplot.rosa: Barplot of block and component explained variances

Description Usage Arguments Value

View source: R/plot.rosa.R

Description

Barplot of block and component explained variances

Usage

1
2
3
## S3 method for class 'rosa'
barplot(height, type = c("train", "CV"),
  ncomp = height$ncomp, col = mcolors(ncomp), ...)

Arguments

height

A rosa object.

type

Character indicating if explained variance should be based on training data ("train") or cross-validation ("CV").

ncomp

Integer to control the number of components to plot (if fewer than the fitted number of components).

col

Colors to use for the components.

...

Additional parameters passed to barplot

Value

No return


khliland/rosa documentation built on Dec. 29, 2021, 12:25 a.m.