NA and Inf values in the yy has been ignored automatically.
rcpp_wSG(y, halfwin = 1L, d = 1L, w = NULL) rcpp_SG(y, halfwin = 1L, d = 1L)
| y | colvec |
|---|---|
| halfwin | halfwin of Savitzky-Golay |
| d | polynomial of degree. When d = 1, it becomes moving average. |
| w | colvec of weight |
#> Error in rcpp_wSG(y, frame, d, w): object '_phenofit_rcpp_wSG' not founds2 <- rcpp_SG(y, frame, d)#> Error in rcpp_SG(y, frame, d): object '_phenofit_rcpp_SG' not found