install.packages('hyperSpec')
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
.levelplot
, etc.) according to
the factor levels. The colorkey will shows all levels (including unused), and the drawing colors
will be set accordingly.svUnit
is available, run the unit tests and
display the results.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.hyperSpec
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.new
. The
hyperSpec object is then initialize
d using the given parameters.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
.as.data.frame
returns x@data
(as data.frame) as.matrix
returns the spectra matrix x@data$spc
as matrixhclust
dendrogramsvalue
may be a list or vector of labels giving the new label for
each of the entries specified by which
.print
, show
, and summary
show the result of
as.character
.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.hyperSpec
object.value
may be a list or vector of labels giving the new label for
each of the entries specified by which
.