Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

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

Author(s)

Pierre Roudier

Examples

oz <- load_oz()
 plot_summary(oz)

spectacles

Storing, Manipulating and Analysis Spectroscopy and Associated Data

v0.5-3
GPL-3
Authors
Pierre Roudier [aut, cre], Max Kuhn [ctb], Kristian Hovde Liland [ctb], Bjorn-Helge Mevik [ctb], Hadley Wickham [ctb], Raphael Viscarra Rossel [dtc]
Initial release
2021-01-11

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.