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
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
Originally was opened as:
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Is an error expected in this situation (
spc.bin(na.rm = 2)
)?More examples
Originally was opened as:
The text was updated successfully, but these errors were encountered: