.getLimits | R Documentation |
Internal function. Get limits from a user specified formula
(used in ChemoSpec2D::removeFreq()
and ChemoSpec2D::removePeaks2D()
).
The user may not know or think about whether F2 or F1 is ascending or descending
so we will try to get it right no matter how the user gives
the formula; e.g. 6 ~ 3 ought to be handled as 3 ~ 6.
.getLimits(spectra, dim, form)
spectra |
An object of S3 class |
dim |
The dimension for which the limits are desired. |
form |
A formula specification. |
An object of S3 class ChemoSpec2D::Spectra2D()
.
Bryan A. Hanson (DePauw University).
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.