Learn R Programming

mdatools (version 0.14.2)

plotContributions.mcr: Show plot with resolved contributions

Description

Show plot with resolved contributions

Usage

# S3 method for mcr
plotContributions(
  obj,
  comp = seq_len(obj$ncomp),
  type = "l",
  col = mdaplot.getColors(obj$ncomp),
  ...
)

Arguments

obj

object of clacc mcr

comp

vector with number of components to make the plot for

type

type of the plot

col

vector with colors for individual components

...

other parameters suitable for mdaplotg