R: Display the Spectra in a Spectra Object One at a Time

loopThruSpectra {ChemoSpec} | R Documentation

## 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.

### References

https://github.com/bryanhanson/ChemoSpec

### Examples

    ## Not run:

    data(metMUD1)
    loopThruSpectra(metMUD1)

    ## End(Not run)

[Package ChemoSpec version 4.4.97 Index]