[GRASS-stats] random subset in R

Leonardo Hardtke leohardtke at gmail.com
Mon Jun 14 15:12:31 EDT 2010


Hi list,
I'm tryng to do a simple random subset of spatial points in R and don't 
know how....
I tried:

library(spgrass6)
hs=readVECT6("HSd01 at Hot_Spot") (3500 point) #SpatialPointDataFrame
hs_smpl=spsample(hs, 200, "random")  #->SpatialPoints

the question is... how do I attach the right data?
Thanks!

Leonardo Hardtke


More information about the grass-stats mailing list