Learn R Programming

ChemoSpec (version 3.0-1)

LoopThruSpectra: Display the spectra in a Spectra object one at a time

Description

Plots each spectrum in a Spectra object one at a time (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
data(CuticleIR)
LoopThruSpectra(CuticleIR)

Run the code above in your browser using DataLab