Learn R Programming

mdatools (version 0.14.1)

plotCumVariance.mcr: Show plot with cumulative explained variance

Description

Show plot with cumulative explained variance

Usage

# S3 method for mcr
plotCumVariance(
  obj,
  type = "b",
  labels = "values",
  main = "Cumulative 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