- Fixed a small bug that was deleting the
fjump
flag when it was near a delete function in corr_dendro_L2()
- Fixed bug when data came with already formatted
ts
field in the input dendro data. Now, treenetproc skips the as.POSIXct() transformation of the input timestamp (ts) when is already formatted as datetime (POSIXct)
- Fixed bug when the data is too homogeneous, making the outlier detection mechanism to fail and throw too many outliers no matter the
tol
values. This happens when the statistic used. Mean Absolute Deviation (MAD) results to 0. Now, in such case, we fallback to an alternative statistic to measure deviation from the mean (Mean Absolute Error, MAE), in order to detect outliers.
- Added plot_name param to
corr_dendro_L2()
- Fixed bug in
forcejump()
- Added option force.now to
corr_dendro_L2()
that enfoces a jump in the exact moment given by the user. This is because theforce
option decides where to do the jump and might not the most suitable place. - Fixed some bugs when reversing corrections.
- Define new function
recalc_growth_variables()
, that allows to recalculate the growth variables when the input data has changed (for instance, if the start of the data has changed or the data has been filtered)