Skip to content
Prev 1849 / 29559 Next

graph plotting from spatialgriddataframe

Following my question about comparing vectors and raster data, I would be keen on getting more insights.

Here are the fact:

I have converted the vector file (interpretation from underwater camera) to be compared with the raster file (morphometric classification from a multibeam sonar survey) using v.to.rast
Using Mapcalc I have extracted grid cells from the multibeam raster along the resulting v.to.rast "transect".
Both datasets were then imported in R using readRast6

My main aim now is simply to plot on 2d graph each variable and then compute a regression.


If any body can put me on tracks (i.e. suggesting the function to use), it will be more than welcome.

Regards and thanks to the GRASS / R community.

Thierry