Trend Estimating Tools
rtrend: Trend Estimating Tools
Set dimensions of an Object
slope
slope_arr
calculate slope of rast object
Weighted Savitzky-Golay
split_data
summary_lm
faster autocorrelation based on ffw
apply function for 3d array
apply_col
array_3dTo2d
chunk
parallel apply and llply
Modified Mann Kendall
movmean
The traditional linear regression trend, Modified Mann-Kendall (MK) non-parameter trend and bootstrap trend are included in this package. Linear regression trend is rewritten by '.lm.fit'. MK trend is rewritten by 'Rcpp'. Finally, those functions are about 10 times faster than previous version in R. Reference: Hamed, K. H., & Rao, A. R. (1998). A modified Mann-Kendall trend test for autocorrelated data. Journal of hydrology, 204(1-4), 182-196. <doi:10.1016/S0022-1694(97)00125-X>.