Learn R Programming

ChemoSpec (version 2.0-2)

specSurvey: Plot Measures of Central Tendency and Spread for a Spectra Object

Description

This function computes and plots various measures of central tendency and spread for a "Spectra" object. Several different measures/spreads are available. The computation can be done by group or using the entire data set.

Usage

specSurvey(spectra, method = c("sd", "sem", "sem95", "mad", "iqr"),
by.gr = TRUE, ...)

Arguments

Value

None; side effect is a plot

References

http://academic.depauw.edu/~hanson/ChemoSpec/ChemoSpec.html

Examples

Run this code
data(CuticleIR)
myt <- expression(bolditalic(Portulaca)~bolditalic(oleracea)~bold(Cuticle~IR~Spectra))
specSurvey(CuticleIR, method = "iqr", main = myt)

Run the code above in your browser using DataLab