I would like to sumarize (sum and/or mean) values from layers on a raster brick based on latitude bands (been using raster package). Been looking at the package documentation and didn't find a way to do it. Can anyone give any advice on how to do it?
I guess one option would be to use extract by spatial polygons? Or is there a way to do it with another raster where the values would be classes of the latitudes of cells?