We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Using the decomposition function with an hyperSpec function containing no spectra leads to an error with out of bounds description.
Error in xj[i, , drop = FALSE] : Indexing out of bounds
related issue: #288
The text was updated successfully, but these errors were encountered:
@galaxismad could you provide a minimal reproducible example to test this behavior?
Sorry, something went wrong.
spc <- new("hyperSpec", wavelength = 1:20, spc = matrix(NA, ncol = 20, nrow = 0)) decomposition(spc, matrix(20:1, ncol = 20, nrow = 1), scores = FALSE)
It would be expected, that the matrix is replacing the empty spc column, as a valid wavelength axis is available.
@galaxismad thank you for the clarification.
Possibly related: #144
decomposition()
cbeleites
No branches or pull requests
Using the decomposition function with an hyperSpec function containing no spectra leads to an error with out of bounds description.
related issue: #288
The text was updated successfully, but these errors were encountered: