plotSpectraComparison: Compares resolved and original pure component spectra

Description Usage Arguments

Description

shows two spectra - a resolved and an original for selected pure component in the same plot

Usage

1
2
3
plotSpectraComparison(obj, purespec, ncomp = 1, col = getColors(2),
  lwd = c(2, 1), lty = c(1, 1), xlab = "Wavenumbers",
  ylab = "Intensity", main = NULL, show.stat = F, ...)

Arguments

obj

object with unmixing results

purespec

matrix with pure spectra for the components (spectra in rows)

ncomp

for which component show the comparison for

col

color for the spectra (two values - one for each spectrum)

lwd

line width for the spectra (two values)

lty

line type for the spectra (two values)

xlab

label for x axis

ylab

label for y axis

main

main title for the plot

show.stat

logical, show or not relative residual variance between the spectra

...

other plot parameters


svkucheryavski/supure documentation built on May 30, 2019, 9:32 p.m.