Re: [R] GRASS raster data processing

2009-06-12 Thread Roger Bivand
Perhaps reading ?readRAST6 would help? It does say: vname: A vector of GRASS 6.0 raster file names so you could write: Kar <- readRAST6(c("Incis_Kar", "DEM_Kar"), plugin=FALSE) and plot(Incis_Kar ~ DEM_Kar, data=Kar) should get you there - in spearfish: sp <- readRAST6(c("erosion1", "elevat

Re: [R] GRASS raster data processing

2009-06-11 Thread Nikos Alexandris
Maayt: > I just imported two raster maps into R using the SPGRASS6 package, one > containing elevation data and the other containing an erosion index: > Kar_inc <-readRAST6("Incis_Kar", plugin=FALSE) > Kar_dem <- readRAST6("DEM_Kar", plugin=FALSE) > > I just wanted to make a xy plot of erosion p

[R] GRASS raster data processing

2009-06-11 Thread Maayt
Hi, I just imported two raster maps into R using the SPGRASS6 package, one containing elevation data and the other containing an erosion index: Kar_inc <-readRAST6("Incis_Kar", plugin=FALSE) Kar_dem <- readRAST6("DEM_Kar", plugin=FALSE) I just wanted to make a xy plot of erosion parameter vs el