install.packages('hyperSpec')
x
.svUnit
is available, run the unit tests and
display the results.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.plotspc
.read.ENVI.Nicolet
therefore appends "description", "z plot titles",
and "pixel size" to keys.hdr2log
before calling read.ENVI
.
They are then interpreted as follows:
new
. The
hyperSpec object is then initialize
d using the given parameters.loess
.@log
of a hyperSpec
object.split
divides the hyperSpec
object into a list of
hyperSpec
objects according to the groups given by f
.hyperSpec
object so that the wavelength vector is in increasing (or
decreasing) order.hyperSpec
object.hyperSpec
object, i.e. intensity over
wavelength. Instead of the intensity values of the spectra matrix summary
values calculated from these may be used.wl
returns the wavelength axis, wl<-
sets it.value
may be a list or vector of labels giving the new label for
each of the entries specified by which
.decomposition
converts the result matrices into new hyperSpec
objects.as.data.frame
returns x@data
(as data.frame) as.matrix
returns the spectra matrix x@data$spc
as matrixplotc
plots intensities of a hyperSpec
object over another
dimension such as concentration, time, or a spatial coordinate.wl2i
returns the column indices for the spectra matrix for the given wavelengths.
i2wl
converts column indices into wavelengths.sweep
for hyperSpec
objects.levelplot
, etc.) according to
the factor levels. The colorkey will shows all levels (including unused), and the drawing colors
will be set accordingly.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.read.spc.KaiserMap
imports sets of .spc files of Raman maps written
by Kaiser Optical Systems' Hologram software. It may also serve as an
example how to write wrapper functions for read.spc
to conveniently
import specialized sets of .spc files.print
, show
, and summary
show the result of
as.character
.