empty | R Documentation |
Empty produces an hyperSpec object with the same columns and wavelengths as x
. The new
object will either contain no rows at all (default), or the given number of rows with all data
initialized to spc
and extra
, respectively.
empty(x, nrow = 0, spc = NA, extra = NA)
x |
hyperSpec object |
nrow |
number of rows the new object should have |
spc |
value to initialize the new spectra matrix with |
extra |
value to initialize the new extra data with |
C. Beleites
empty (chondro, nrow = 2, spc = 0)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.