| sumSpectra {ChemoSpec} | R Documentation |
Provides a summary of a Spectra object, essentially a more
spectroscopist-friendly version of str().
sumSpectra(spectra, ...)
spectra |
An object of S3 class |
... |
Arguments to be passed downstream. |
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). The
Spectra object is checked to see if it contains data elements
beyond what is required. If so, these extra elements are reported to the
console.
None. Results printed at console, perhaps a plot as well.
Bryan A. Hanson, DePauw University.
https://github.com/bryanhanson/ChemoSpec
data(metMUD1) sumSpectra(metMUD1)