Aggregate raster
Hi community! I have a raster of Global Land Cover with a resolution of 1 km (http://glcf.umd.edu/). I want to change its resolution to be similar to that of the rest of the rasters I am using for my project (0.166667 degrees). Besides, I want to recalculate the value for each new cell. In the original raster, there are 12 categories of land use. In my new raster, I want the new cells to have the value more often repeated among those of the original cells. I have tried with this: rnew<-aggregate(rprevious, factor=(1/0.1666667), fun=modal) But it is not working. Any help? Seems correct? Thank you! -- View this message in context: http://r-sig-geo.2731867.n2.nabble.com/Aggregate-raster-tp7584991.html Sent from the R-sig-geo mailing list archive at Nabble.com.