Isaque, check this thread on StackExchange: http://gis.stackexchange.com/questions/177423/r-aggregate-raster-with-mode-function-how-does-it-work
--Mel. On 8/26/2016 10:07 PM, Isaque Daniel wrote: > Hi dear all, > > > I need to resample a tree cover map create by Landsat imagery to the MODIS > 250 meters. > > If I use the resample function of raster package, it will compute the value > based on bilinear or ngb, in this condition the new class map will not answer > my expectations. > > > I loking for a way of resample using the statistical mode to define the value > of the pixel of the new map. > > > Some tip about this? > > Thanks > Isaque > > > > ------------------------------------------------------------------------------------------------------------------ > Agronomist engineer > Master in Remote Sensing - National Institute for Space Research (INPE) - > Brazil > PHD Student in Transport - Bras�lia University (UNB) > > [[alternative HTML version deleted]] > > > > _______________________________________________ > R-sig-Geo mailing list > R-sig-Geo@r-project.org > https://stat.ethz.ch/mailman/listinfo/r-sig-geo [[alternative HTML version deleted]] _______________________________________________ R-sig-Geo mailing list R-sig-Geo@r-project.org https://stat.ethz.ch/mailman/listinfo/r-sig-geo