-
Notifications
You must be signed in to change notification settings - Fork 3
New issue
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
Spc fit poly below on highwavelength range with high polynomial order can not solve vander monde matrix #67
Labels
Comments
@cbeleites, is it enough information for you to reproduce the error? Could a reproducible example be added to this thread? |
@cbeleites, this issue has the status "Urgent": would you have time to try solving this issue ASAP? |
suppressPackageStartupMessages({
library(hyperSpec)
})
spectra_CHstretch <- flu[,, 450 ~ 495]
baseline <- spc_fit_poly_below(spectra_CHstretch, poly.order = 6)
#> Error in qr.solve(vdm[use, ], y[use, i]): singular matrix 'a' in solve Created on 2024-05-02 with reprex v2.1.0 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
spectra_CHstretch <- spectra[,, 2600 ~ 3150]
plot (spectra_CHstretch)
baseline <- spc.fit.poly.below(spectra_CHstretch, poly.order = 6)
The text was updated successfully, but these errors were encountered: