Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

empty

Empty hyperSpec object


Description

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.

Usage

empty(x, nrow = 0, spc = NA, extra = NA)

Arguments

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

Author(s)

C. Beleites

Examples

empty (chondro, nrow = 2, spc = 0)

hyperSpec

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

v0.100.0
GPL (>= 3)
Authors
Claudia Beleites [aut, cre, dtc] (<https://orcid.org/0000-0003-1626-154X>), Valter Sergo [aut], Alois Bonifacio [ctb, dtc], Marcel Dahms [ctb], Björn Egert [ctb], Simon Fuller [ctb], Vilmantas Gegzna [ctb], Rustam Guliev [ctb], Bryan A. Hanson [ctb], Michael Hermes [ctb], Martin Kammer [dtc], Roman Kiselev [ctb], Sebastian Mellor [ctb]
Initial release
2021-09-13

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.