Learn R Programming

ChemoSpec (version 5.0.88)

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.

References

https://github.com/bryanhanson/ChemoSpec

Examples

Run this code
# NOT RUN {
# }
# NOT RUN {
data(metMUD1)
loopThruSpectra(metMUD1)
# }
# NOT RUN {
# }

Run the code above in your browser using DataLab