[R-sig-Geo] raster calc

Agustin Lobo alobolistas at gmail.com
Tue Oct 20 19:07:28 CEST 2009


I think that the line
*2) |x| is a RasterLayer object; |fun| is a function
in the help page of calc
should be
**2) |x| is a RasterStack object; |fun| is a function*



Anyway, if I want to add 2 rasters (i.e a + b) using the rast package, 
should
I make a raster stack  with them and use calc ?
An example with more than one raster in the help  page would be  very 
helpful.

Thanks

 Agus
-------------- next part --------------
A non-text attachment was scrubbed...
Name: alobolistas.vcf
Type: text/x-vcard
Size: 251 bytes
Desc: not available
URL: <https://stat.ethz.ch/pipermail/r-sig-geo/attachments/20091020/80af2b18/attachment.vcf>


More information about the R-sig-Geo mailing list