Use MODIS MCD12Q1 land cover input map (src_raster) and a coarser destination raster (E-OBS, CMIP5) to calculate land cover representation of these coarser cells.
a MCD12Q1 map in epsg:4326.
area to calculate the statistics for, with a coarser resolution than the 500m MCD12Q1 data
land cover classes to calculate the statistics for. only IGBP classes (1 - 16) are supported. Takes a vector e.g. c(1, 4)
path to output your generated data to if not outputting it to the R console / workspace, default = "~"
TRUE / FALSE, if true no files are written to disk and a raster stack is returned to the R command line
The algorithm counts the number of occurences in a given pixel of the destination raster. Both maps should be in EPSG:4326.