Learn R Programming

mdatools (version 0.9.1)

plotVariance.ldecomp: Explained variance plot for linear decomposition

Description

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

Usage

# S3 method for ldecomp
plotVariance(obj, type = "b", main = "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 plot objects.

labels

what to show as labels for plot objects.

...

most of graphical parameters from mdaplot function can be used.