Learn R Programming

hyperSpec (version 0.98-20140523)

plot-methods: Plotting hyperSpec Objects

Description

Plotting hyperSpec objects. The plot method for hyperSpec objects is a switchyard to plotspc, plotmap, and plotc.

Usage

## S3 method for class 'hyperSpec,missing':
plot(x, y, ...)

## S3 method for class 'hyperSpec,character': plot(x, y, ...)

Arguments

x
the hyperSpec object
y
selects what plot should be produced
...
arguments passed to the respective plot function

Details

It also supplies some convenient abbrevations for much used plots.

If y is missing, plot behaves like plot (x, y = "spc").

Supported values for y are:

[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]

See Also

plotspc for spectra plots (intensity over wavelength),

plotmap for plotting maps, i.e. color coded summary value on two (usually spatial) dimensions.

plotc

plot

Examples

Run this code
plot (flu)

plot (flu, "c")

plot (laser, "ts")

spc <- apply (chondro, 2, quantile, probs = 0.05)
spc <- sweep (chondro, 2, spc, "-")
plot (spc, "spcprctl5")
plot (spc, "spcprctile")
plot (spc, "spcmeansd")

Run the code above in your browser using DataLab