Work with Hyperspectral Data, i.e. Spectra + Meta Information (Spatial, Time, Concentration, ...)

Comfortable ways to work with hyperspectral data sets. I.e. spatially or time-resolved spectra, or spectra with any other kind of information associated with each of the spectra. The spectra can be data as obtained in XRF, UV/VIS, Fluorescence, AES, NIR, IR, Raman, NMR, MS, etc. More generally, any data that is recorded over a discretized variable, e.g. absorbance = f (wavelength), stored as a vector of absorbance values for discrete wavelengths is suitable.



o plotc is now a lattice function

o plotc and plotmap gained a standard formula interface

o plotvoronoi is an alternative to plotmap for non-rectangularly spaced grids

o plot (x, "mat") is an abbreviation to plot the spectra matrix

o The special handling of MARGINS in apply changed to be more consistent with standard behaviour apply (x, 1 : 2, FUN, ...) is now calling FUN for each element of the spectra matrix, and apply (x, , FUN, ...) calls FUN with the complete spectra matrix.

o hyperSpec now reads the binary file formats .spc as well as ENVI files.
There are two specialized functions to import Nicolet FTIR Images (ENVI) and Kaiser Raman maps (spc)

o collapse rbinds a list of hyperSpec object that may have different wavelength axes

o a more general way to combine two hyperSpec objects is merge.


o Plotting functions are discussed in a separate vignette "plotting" now

o Import- and Export functions for diverse file formats are discussed in vignette "fileio"

Reference manual

It appears you don't have a PDF plugin for this browser. You can click here to download the reference manual.


0.98-20161118 by Claudia Beleites, 10 months ago

Browse source code at

Authors: Claudia Beleites

Documentation:   PDF Manual  

Task views: Chemometrics and Computational Physics

GPL (>= 3) license

Imports methods, utils, latticeExtra, svUnit

Depends on lattice, grid, ggplot2

Suggests R.matlab, tripack, deldir, rgl, plotrix, testthat, sp, baseline, compiler, inline, Rcpp, MASS, fastcluster, pls, mvtnorm, digest

Imported by photobiologyInOut, specmine.

Suggested by prospectr.

See at CRAN