computeVolume {ChemoSpec2D} | R Documentation |
Compute the Volume of a Specified Shift Range in a 2D Spectrum
Description
This function takes a range of frequencies for each dimension, and calculates the volume of the enclosed region.
Usage
computeVolume(spectra, F2range = NULL, F1range = NULL)
Arguments
spectra |
An object of S3 class |
F2range |
A formula giving a frequency range. May include
"low" or "high" representing the extremes of the spectra. Values below or above the range of
F2 are tolerated without notice and are handled as |
F1range |
As for |
Value
A numeric vector of volumes, one for each spectrum.
Author(s)
Bryan A. Hanson, DePauw University.
Examples
data(MUD1)
tst <- computeVolume(MUD1, F2range = 3 ~ 4, F1range = 55 ~ 70)
[Package ChemoSpec2D version 0.5.0 Index]