One way of doing this is by using the package raster.
Take a look at:
?zonal
Jacob.
--- On Fri, 5/14/10, Raphael Saldanha wrote:
From: Raphael Saldanha
Subject: [R-sig-Geo] Region raster
To: "r-sig-geo"
Date: Friday, May 14, 2010, 2:53 PM
Dear list,
I'm completely newbie wi
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 SR