inspectLvls {ChemoSpec2D}R Documentation

Inspect Levels for Contour Plots of Spectra2D Objects

Description

Given a Spectra2D object, this function will assist in selecting levels for preparing contour and image type plots. Any of the arguments to calcLvls can be used to compute the levels, or you can choose your own by inspection.

Usage

inspectLvls(spectra, which = 1, ...)

Arguments

spectra

An object of S3 class Spectra2D.

which

Integer. The spectrum/spectra to be analyzed. If a vector, the intensities are combined.

...

Arguments to be passed downstream to calcLvls and/or the plot function (e.g. ylim).

Value

A numeric vector giving the levels (invisibly).

Author(s)

Bryan A. Hanson, DePauw University. hanson@depauw.edu

See Also

See pfacSpectra2D for further examples.

Examples


data(MUD1)
inspectLvls(MUD1, ylim = c(0, 300), main = "MUD1 Spectrum 1, mode = even")
inspectLvls(MUD1, ylim = c(0, 300), mode = "NMR", main = "MUD1 Spectrum 1, mode = NMR")

[Package ChemoSpec2D version 0.4.187 Index]