[GRASS-stats] raster data in R

Markus Neteler neteler at osgeo.org
Thu Sep 10 07:47:28 PDT 2015


Hi Rainer,

On Thu, Sep 10, 2015 at 4:36 PM, Rainer M Krug <Rainer at krugs.de> wrote:
...
> Just check out the rgrass7 package - readRAST() allows you to read your
> raster, then you do your calculations with the data,

... this calculation part is the question of Marisa... any recommended
tutorials on how to loop over pixels in R after having used
readRAST()?

> then you add them
> to the map object in R and finally you can safe them by using
> writeRAST() back to GRASS.

Yes, that part is clear. Just the "loop" best practice not so much.

thanks
Markus


More information about the grass-stats mailing list