Dear list,

How to deal with this error with zonal (raster package):
"RasterLayers are too large. You can use fun='sum', 'mean', 'min', or 'max',
but not a function"?
I'm trying to do some calculations with the data from one raster for each
region of the other raster, but something more complicated than just "mean"
or "sum"... (like plot the density of each region). Is it something about
that, maybe in another package?

Thanks a lot.

2010/5/14 Jacob van Etten <jacobvanetten@yahoo.com>

> One way of doing this is by using the package raster.
> Take a look at:
>
> ?zonal
>
> Jacob.
>
> --- On Fri, 5/14/10, Raphael Saldanha <saldanha.plangeo@gmail.com> wrote:
>
> From: Raphael Saldanha <saldanha.plangeo@gmail.com>
> Subject: [R-sig-Geo] Region raster
> To: "r-sig-geo" <r-sig-geo@stat.math.ethz.ch>
> Date: Friday, May 14, 2010, 2:53 PM
>
> Dear list,
>
> I'm completely newbie with working with raster files inside R. I'm taking a
> good look on RGDAL documentation, and looking for some tutorials and docs.
>
> My first need is: a have two rasters, one is an SRTM relief, and the other
> is a region file. I need to do some calculations with the SRTM data (max
> und
> minimun) for each region of the other raster. Can anyone give me a hint?
>
>
> Regards,
>
> Raphael Saldanha
> Brazil
> saldanha.plangeo@gmail.com
>
>     [[alternative HTML version deleted]]
>
> _______________________________________________
> R-sig-Geo mailing list
> R-sig-Geo@stat.math.ethz.ch
> https://stat.ethz.ch/mailman/listinfo/r-sig-geo
>
>
>
>
>         [[alternative HTML version deleted]]
>
>
> _______________________________________________
> R-sig-Geo mailing list
> R-sig-Geo@stat.math.ethz.ch
> https://stat.ethz.ch/mailman/listinfo/r-sig-geo
>
>

	[[alternative HTML version deleted]]

