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

loopThruSpectra

Display the Spectra in a Spectra Object One at a Time


Description

Plots each spectrum in a Spectra object one at a time, and waits for a return in the console before plotting the next spectrum. Use ESC to get out of the loop.

Usage

loopThruSpectra(spectra, ...)

Arguments

spectra

An object of S3 class Spectra.

...

Parameters to be passed downstream.

Value

None. Side effect is a plot.

Author(s)

Bryan A. Hanson, DePauw University.

See Also

Additional documentation at https://bryanhanson.github.io/ChemoSpec/

Examples

## Not run: 
data(metMUD1)
loopThruSpectra(metMUD1)

## End(Not run)

ChemoSpec

Exploratory Chemometrics for Spectroscopy

v5.3.11
GPL-3
Authors
Bryan A. Hanson [aut, cre] (<https://orcid.org/0000-0003-3536-8246>), Mike Bostock [cph, ctb] (author of the d3.js library used by plotSpectraJS, http://d3js.org), Matt Keinsley [ctb] (author of initial AOV-PCA code)
Initial release
2021-03-24

We don't support your browser anymore

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