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
Is an error expected in this situation (spc.bin(na.rm = 2))?
spc.bin(na.rm = 2)
suppressPackageStartupMessages(library(hyperSpec)) # Example 1: Error data(flu, package = "hyperSpec") flu[[3, , 3, wl.index = TRUE]] <- NA_real_ spc.bin(flu, 1, na.rm = 2) #> Error in tapply(spc@wavelength, bin, mean, na.rm = na.rm > 0): arguments must have same length
Created on 2020-08-03 by the reprex package (v0.3.0)
suppressPackageStartupMessages(library(hyperSpec)) # Example 2: Error data(flu, package = "hyperSpec") flu[[, , 3, wl.index = TRUE]] <- NA_real_ spc.bin(flu, 1, na.rm = 2) #> Error in tapply(spc@wavelength, bin, mean, na.rm = na.rm > 0): arguments must have same length # Example 3: Error data(flu, package = "hyperSpec") flu[[3, ]] <- NA_real_ spc.bin(flu, 1, na.rm = 2) #> Error in tapply(spc@wavelength, bin, mean, na.rm = na.rm > 0): arguments must have same length
The text was updated successfully, but these errors were encountered:
Add note that tests for spc.bin(na.rm = 2) are missing
fda7ff9
see #241
Reopened as:
Sorry, something went wrong.
cbeleites
No branches or pull requests
Is an error expected in this situation (
spc.bin(na.rm = 2)
)?Created on 2020-08-03 by the reprex package (v0.3.0)
More examples
The text was updated successfully, but these errors were encountered: