Learn R Programming

mdatools (version 0.14.2)

plotVariance.mcr: Show plot with explained variance

Description

Show plot with explained variance

Usage

# S3 method for mcr
plotVariance(
  obj,
  type = "h",
  labels = "values",
  main = "Variance",
  xticks = seq_len(obj$ncomp),
  ...
)

Arguments

obj

object of clacc mcr

type

type of the plot

labels

what to use as data labels

main

title of the plot

xticks

vector with ticks for x-axis

...

other parameters suitable for mdaplot