[R-sig-Geo] Elevation histogram for each region

Clélia Bilodeau clelia.bilodeau at gmail.com
Wed May 26 11:08:01 CEST 2010


Dear list,

I have two rasters, one is a Digital Elevation Model, and the other is
a region file.
I am looking for a method that allows me to plot the elevation
histogram or density for each region.

My first try was to do this with a function and to use "Zonal" from
the "raster" package, but I have a very large file, so I have this
error:
"RasterLayers are too large. You can use fun='sum', 'mean', 'min', or
'max', but not a function"

Is there another way to do this?

Thank you.



More information about the R-sig-Geo mailing list