I have a raster stack/brick of 35 annual rainfall raster layers for Per-pixel temporal trends. I have calculated Sen Slope by applying Theil-Sen test, a non-parametric linear regression model using R (code is written below).Now I will have to check the significance of Theil-Sen slope using Mann–Kendall (MK) trend test at different confidence level 90, 95 and 99% accounting for serial correlation present in time series raster images.

Can someone guide me how to do this using raster brick in R? 

library(sp)

library(rgdal)

library(raster)

library(Kendall)

library(boot)

library(trend)

library(zyp)

library(mblm)

getwd()

setwd("H:/arrangedlineartrends/2004") #set working directory

bundle

More Muhammad Usman's questions See All
Similar questions and discussions