OpenDendro / dplR

This is the dev site for the dplR package in R
37 stars 14 forks source link

The same file of rwl was not always received error information when use the function of 'detrend' #13

Closed muxi1995 closed 2 years ago

muxi1995 commented 2 years ago

Dear Professor, when I use the function of 'detrend' in 'dplR' package to detrend the trend of tree ring width I received an error that is "In (function (y, y.name = "", make.plot = TRUE, method = c("Spline", : Spline fit is not all positive". But when did the same process again this error did not occur and the chronology of the rwl file was without a negative value. I want to know whether the chronology is reliable. I also hope you can give me some suggestions to deal with the problem in a batch process. Thank you a lot in advance.

AndyBunn commented 2 years ago

after our email exchange, i understand that this has been resolved.