Plots one or multiple spectral curves in the same graph to rapidly compare groups of spectra.
explorespec( rspecdata, by = NULL, scale = c("equal", "free"), legpos = "topright", ... )
(required) a data frame, possibly of class
contains a column containing a wavelength range, named 'wl', and spectra
data in remaining columns.
number of spectra to include in each graph (defaults to 1)
defines how the y-axis should be scaled.
"free": panels can vary in
the range of the y-axis;
"equal": all panels have the y-axis with the same range.
legend position control. Either a vector containing
or a single keyword from the list:
additional parameters to be passed to plot
Spectral curve plots
Number of plots presented per page depends on the number of graphs produced.