Learn R Programming

ChemoSpec (version 2.0-2)

sumSpectra: Summarize a Spectra Object

Description

Provides a summary of a "Spectra" object, essentially a more spectroscopist-friendly version of str().

Usage

sumSpectra(spectra, ...)

Arguments

Value

None. Results printed at console, perhaps a plot as well.

Rdversion

1.1

Details

Prior to summarizing, chkSpectra is run with confirm = FALSE. If there are problems, warnings are issued to the console and the summary is not done. If sumSpectra thinks there is a gap between every data point, add the argument tol = xx which will pass through to check4Gaps and alleviate this problem (which has to do with rounding when subtracting two adjacent frequency values).

References

http://academic.depauw.edu/~hanson/ChemoSpec/ChemoSpec.html

Examples

Run this code
data(CuticleIR)
sumSpectra(CuticleIR)

Run the code above in your browser using DataLab