specStats | R Documentation |
Given a list of outputs from meanspec generates a plot with the mean shown by a line, and either the minimum/maximum values or one standard deviation shown by a ribbon.
specStats(spectra, stats = "minMax", line.col = "black", ribbon.col = "grey70")
spectra |
A list of spectra |
stats |
Either minMax or sd |
line.col |
Colour for the line |
ribbon.col |
Colour for the ribbon |
A ggplot2 object
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.