plot_summary: Summary plot of a collection of spectra
Description
Creates a summary plot of a collection of Spectra
Usage
plot_summary(x, fun = mean, se = TRUE, ...)
Arguments
- x
an object of class "Spectra"
or inheriting from this class
- fun
an aggregation function
- se
if TRUE, plots the standard deviation around the summary spectra
(computed by function as given by fun
). If FALSE, does not plot
dispersion information. If a function, uses this function instead of
sd
.
- ...
additional parameters, currently ignored
Examples
Run this code oz <- load_oz()
plot_summary(oz)
Run the code above in your browser using DataLab