Description Usage Arguments Value
Convert spatially resolved object of class hyperSpec to an array.
1 | spcmap2array(x, set_dimnames = FALSE, sort = FALSE)
|
x |
A |
set_dimnames |
logical; specify whether values for x, y and wavelength should be used as dimnames. |
sort |
logical; specify whether dimensions x (increasing), y (decreasing) and wavelengths (increasing) should be sorted prior conversion. |
An array with the dimensions "x" "y" and "nwl", with the wavelength vector attached as an attribute.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.