Generating plot of the contents of a Spectra object with respect to time.
If xdata is 'time', data is plotted with respect to the 'TIME' column. If xdata
is 'observations', data is plotted with respect to an integer index equal to 1:nrow(object).
Usage
spc.plot.time(object, ...)
# S4 method for Spectra
spc.plot.time(object, Y, maxSp = 50, xdata = "time", lab_cex, lwd = 2, ...)
Arguments
object
A Spectra object.
...
any further arguments of plot
Y
character. Name of the columns of the Spectra object to be plotted.
maxSp
numeric. Maximum number of Spectra to plot.
xdata
character. Type of time-series data. Can be 'time' or 'observations'.
lab_cex
vector of character expansion sizes, used cyclically.