| plot-methods {hyperSpec} | R Documentation |
Plotting hyperSpec objects. The plot method for
hyperSpec objects is a switchyard to plotspc,
plotmap, and plotc.
It also supplies some convenient abbrevations for much used plots.
## S4 method for signature 'hyperSpec, missing': plot(x, y, ...) ## S4 method for signature 'hyperSpec, character': plot(x, y, ...)
x |
the hyperSpec object |
y |
selects what plot should be produced |
... |
arguments passed to the respective plot function |
If y is missing, plot behaves like
plot (x, y = "spc").
Supported values for y are:
plotspc to produce a spectra plot."spcmeansd". However,
this is frequently not the case. Then "spcprctile" gives a
better impression of the spectral data set."spcprctile", but additionally the
5th and 95th percentile spectra are plotted.plotmap to produce a map plot.plotc to produce a calibration (or
time series, depth-profile, or the like)plotc
(x, use.c = "t")plotc (x, use.c = "z")C. Beleites
plotspc for spectra plots (intensity over wavelength),
plotmap for plotting maps, i.e. color coded summary value
on two (usually spatial) dimensions.
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")