install.packages('hyperSpec')
hclust
dendrogramshyperSpec
object so that the wavelength vector is in increasing (or
decreasing) order.plotc
plots intensities of a hyperSpec
object over another
dimension such as concentration, time, or a spatial coordinate.value
may be a list or vector of labels giving the new label for
each of the entries specified by which
.levelplot
functions for hyperSpec objects. An image or map of a summary
value of each spectrum is plotted. Spectra may be identified by mouse click.hyperSpec
object, i.e. intensity over
wavelength. Instead of the intensity values of the spectra matrix summary
values calculated from these may be used.sweep
for hyperSpec
objects.loess
.as.data.frame
that converts a
list to a data frame, but doesn't do any checks to make sure it's a
valid format. Much faster.split
divides the hyperSpec
object into a list of
hyperSpec
objects according to the groups given by f
.print
, show
, and summary
show the result of
as.character
.plotspc
.levelplot
, etc.) according to
the factor levels. The colorkey will shows all levels (including unused), and the drawing colors
will be set accordingly.wl
returns the wavelength axis, wl<-
sets it.wl2i
returns the column indices for the spectra matrix for the given wavelengths.
i2wl
converts column indices into wavelengths.as.data.frame
returns x@data
(as data.frame) as.matrix
returns the spectra matrix x@data$spc
as matrixhyperSpec
object.