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
This is the "transpose" of issue #288: creating a hyperSpec object where the spectra do not (yet) exist.
Suggested:
new("hyperSpec", data = data.frame(c = 1:5))
this works:
new("hyperSpec", wavelength = numeric(0), spc = matrix(NA_real_, ncol = 0, nrow = 5), data = data.frame(c = 1:5) )
The text was updated successfully, but these errors were encountered:
I've solved this on my PC, just did not want to create too many PR before the current ones are reviewed.
Sorry, something went wrong.
To clarify, I have suggestion for:
I ran unit tests on my implementation and understood that the issue is more complex than it seemed at first glance.
Currently, the official solution to this issue in hyperSpec is to use as.hyperSpec():
as.hyperSpec()
as.hyperSpec(data.frame(c = 1:5))
as.hyperSpec(as.matrix(data.frame(c = 1:5)))
as.hyperSpec(matrix(1:5))
hyperSpec
Issue reopened as r-hyperspec/hyperSpec#99
No branches or pull requests
This is the "transpose" of issue #288: creating a hyperSpec object where the spectra do not (yet) exist.
Suggested:
this works:
The text was updated successfully, but these errors were encountered: