You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Add possibility to create hyperSpec object without spectra #288
In addition to issues #287 and #283, it would be great to have the opportunity to initialize hyperSpec objects without spectra, meaning only wavelength axis is given during initialization, but no spectral intensities are given.
Activity
galaxismad commentedon Dec 18, 2020
It can be done quite easily with the following statement:
new("hyperSpec", wavelength = 1:100, matrix(NA, ncol = 100, nrow = 0))More intuitive would be:
new("hyperSpec", wavelength = 1:100, spc = NULL)GegznaV commentedon Dec 21, 2020
The issue is fixed in #292. Let's wait if @cbeleites approves my suggestions.