I have a raster stack of 15 layers. I want to perform Mann Kendall trend test, its significance and Theil sen slope. How can i do this in R for window operating system. The stack has NA values in some layers.
There is a Kendall package in R available. Using a raster stack requires to reshape the data to a data frame. Check https://cran.r-project.org/web/packages/Kendall/Kendall.pdf for the example and the structure of the example data and bring them into the same form. should work easily. good luck.
Spatial Efficiency metric (SPAEF) is proven to be robust when comparing two raster maps. Python and Matlab codes are available at: http://space.geus.dk/tools_products/index.html
Sandeep Kumar Patakamuri and Lihui Luo it's my sample data and cod. problem is when in ArcMap I set background value as 1 which is the value of this green background, it disappears but the legend still shows a maximum value of 1 which is the background value. How to change it in legend?
Geoffrey Ogutu Excuse me!I have executed the function : raster.kendall(x, tau = TRUE, intercept = TRUE, p.value = TRUE, z.value = TRUE, confidence = TRUE) and I just got six layers but not 7 layers just like you have said. why i can't get the Z-value? In addition, although i have read the explanation about the raster.kendall function, i still don't know how to distinguish which layer these parameters correspond to? I hope you can give me some help, thank you !