Skip to content
Prev 6181 / 29559 Next

raster algebra in R

You can try the raster package, available from R-forge:

install.packages("raster", repos="http://R-Forge.R-project.org")

It has very simple raster algebra

r1 <- raster('myfile1.asc')
r2 <- raster('myfile2.asc')
r3 <- r1 + sqrt(r2) + 1

etc.

Robert
On Fri, Jul 31, 2009 at 11:21 AM, Jason Robinson<litobrancha at yahoo.com> wrote: