Learn R Programming

mdatools (version 0.9.1)

plotCumVariance.ldecomp: Cumulative explained variance plot for linear decomposition

Description

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

Usage

# S3 method for ldecomp
plotCumVariance(obj, type = "b",
  main = "Cumulative variance", xlab = "Components",
  ylab = "Explained variance, %", show.labels = F, labels = "values",
  ...)

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

labels

what to show as labels for plot objects

...

most of graphical parameters from mdaplot function can be used.