install.packages('hyperSpec')
new
. The
hyperSpec object is then initialize
d using the given parameters.hyperSpec
object so that the wavelength vector is in increasing (or
decreasing) order.hclust
dendrogramsas.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.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.loess
.plotspc
.hyperSpec
object, i.e. intensity over
wavelength. Instead of the intensity values of the spectra matrix summary
values calculated from these may be used.wl2i
returns the column indices for the spectra matrix for the given wavelengths.
i2wl
converts column indices into wavelengths.plotc
plots intensities of a hyperSpec
object over another
dimension such as concentration, time, or a spatial coordinate.sweep
for hyperSpec
objects.print
, show
, and summary
show the result of
as.character
.wl
returns the wavelength axis, wl<-
sets it.split
divides the hyperSpec
object into a list of
hyperSpec
objects according to the groups given by f
.levelplot
, etc.) according to
the factor levels. The colorkey will shows all levels (including unused), and the drawing colors
will be set accordingly.as.data.frame
returns x@data
(as data.frame) as.matrix
returns the spectra matrix x@data$spc
as matrixhyperSpec
object.value
may be a list or vector of labels giving the new label for
each of the entries specified by which
.