R function that applies the "block average" method to calculate standard errors of spatially or temporally correlated data.
What is the "block average" method? Well, if you came here you should already know! But here are some references for you to get into it.
https://www.quora.com/What-is-the-block-average-method
Details on the usage of the function can be seen in the comments of the script.
PS: Iván Felsztyna motivated the coding