calculating linear regression for each word cell

Previous Topic Next Topic
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view

calculating linear regression for each word cell

ahmet varlı
Hi all,

I have 71 raster for each year. I am trying to convert all raster layer to 1 array (94 ,192 , 71) and then � would calculate for each word cell a linear regression that shows the change but i dont know how � can do this

For creating array with rasters between 1949 and 2019

i <- 1
for (year in 1949:2019) {
  fi<-paste0("C:/ max_consecutive_days_",year,".tif")

Windows 10 i�in Posta<> ile g�nderildi

        [[alternative HTML version deleted]]

[hidden email] mailing list -- To UNSUBSCRIBE and more, see
PLEASE do read the posting guide
and provide commented, minimal, self-contained, reproducible code.