Learn R Programming

mdatools (version 0.5.3)

plotVariance.ldecomp: Explained variance plot for linear decomposition

Description

Shows a plot with explained variance values vs. number of components.

Usage

## S3 method for class 'ldecomp':
plotVariance(obj, type = "b", main = "Variance",
  xlab = "Components", ylab = "Explained variance, \%", show.labels = F,
  ...)

Arguments

obj
object of ldecomp class.
type
type of the plot
main
main title for the plot
xlab
label for x axis
ylab
label for y axis
show.labels
logical, show or not labels for the plot objects
...
most of graphical parameters from mdaplot function can be used.