dot-getLimits: Process Limits for a Spectra2D Plot

.getLimitsR Documentation

Process Limits for a Spectra2D Plot

Description

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.

Usage

.getLimits(spectra, dim, form)

Arguments

spectra

An object of S3 class ChemoSpec2D::Spectra2D().

dim

The dimension for which the limits are desired.

form

A formula specification.

Value

An object of S3 class ChemoSpec2D::Spectra2D().

Author(s)

Bryan A. Hanson (DePauw University).


ChemoSpecUtils documentation built on May 31, 2023, 5:56 p.m.