Skip to content
Prev 2041 / 29559 Next

Simulating raster or spatialgriddataframe images

Andrew,

If you want to simulate particular random fields that are Gaussian or 
binary, described by a second order properties (mean, variogram), then 
you may want to look into the simulation capabilities of packages 
RandomFields or gstat. If you want to simulate objects (circles, 
ellipses, stars), then you may need to do some point-in-polygon stuff, 
which is fairly easy to automate. Perhaps using overlay (in package sp) 
if you have the object as a SpatialPolygons[DataFrame] object.

Hth,
--
Edzer
Andrew Niccolai wrote: