Simple wrapper for plotspc to execute the function with reversed x-axis as default.

plotspc_rev(object, ...)

Arguments

object

the hyperSpec object

...

additional arguments handed to plotspc.

Value

plotspc invisibly returns a list with

x

the abscissa coordinates of the plotted spectral data points

y

a matrix the ordinate coordinates of the plotted spectral data points

wavelengths

the wavelengths of the plotted spectral data points

This can be used together with spc.identify. a list containing
offsets

numeric with the yoffset for each group in stacked

groups

numeric with the group number for each spectrum

levels

if stacked is a factor, the levels of the groups