[R-sig-Geo] How to calculate slope in rasterbrick

idham khalil idhamkhalil at gmail.com
Wed Jun 15 11:28:22 CEST 2011


Hi Guys,

Sorry if this is a vey simple question.

I have a brick that contains 348 layers. Each layer is small in
dimension ncol=69, nrow=43. My question is, how do I calculate slopes
for each pixels from layer 1 to layer 348(Month one to months 348). I
am trying to find the trend as I am working with time series data.

Thanks in advance.



More information about the R-sig-Geo mailing list