Description Usage Arguments Details Author(s) See Also Examples
Plotting hyperSpec objects. The plot method for
hyperSpec objects is a switchyard to plotspc,
plotmap, and plotc.
1 2 3 4 5 |
x |
the |
y |
selects what plot should be produced |
... |
arguments passed to the respective plot function |
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:
calls plotspc to produce a spectra
plot.
plots mean spectrum +/- one standard deviation
plots 16th, 50th, and 84th percentile spectre. If the
distributions of the intensities at all wavelengths were normal, this would
correspond to "spcmeansd". However, this is frequently not the case.
Then "spcprctile" gives a better impression of the spectral data
set.
like "spcprctile", but additionally the 5th and
95th percentile spectra are plotted.
calls plotmap to produce a map plot.
calls plotvoronoi to produce a Voronoi plot
(tesselated plot, like "map" for hyperSpec objects with uneven/non-rectangular
grid).
calls plotmat to produce a plot of the spectra
matrix (not to be confused with matplot).
calls plotc to produce a calibration (or time
series, depth-profile, or the like)
plots a time series: abbrevation for plotc (x,
use.c = "t")
plots a depth profile: abbrevation for 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.
1 2 3 4 5 6 7 8 9 10 11 |
Loading required package: lattice
Loading required package: grid
Loading required package: ggplot2
Package hyperSpec, version 0.98-20161118
To get started, try
vignette ("introduction", package = "hyperSpec")
package?hyperSpec
vignette (package = "hyperSpec")
If you use this package please cite it appropriately.
citation("hyperSpec")
will give you the correct reference.
The project homepage is http://hyperspec.r-forge.r-project.org
Warning message:
In plotc(x, ...) : Intensity at first wavelengh only is used.
Warning message:
In plotc(x, spc ~ t, ...) : Intensity at first wavelengh only is used.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.