Dear listers, On a simulation purpose, I would like to generate data variying from random to various degrees of overdispersion on a raster grid.? For instance on a matrix 1000 x 1000, to select a number of pixels that could be considered spatially aggregated (with a possibility for tuning the degree of aggregation from "random" - no aggregation - to strong clusters). Has anyone heard about how to proceed or an idea about it? Best, Patrick
generating points from random to overdispersed on a raster grid.
2 messages · Patrick Giraudoux, Bede-Fazekas Ákos
Dear Patrick, Package 'spatstat' can generate point pattern from several point processes, e.g. from uniform Poisson process (aka. Complete Spatial Randomness, CSR), general Poisson cluster process and Simple Sequential Inhibition process, and can also generate independent uniform random points. I recommend you to convert your matrix to RasterLayer (of package 'raster'), create an owin window based on its extent, generate points, convert them to SpatialPoints and rasterize them. HTH, ?kos Bede-Fazekas Hungarian Academy of Sciences 2020.06.20. 12:05 keltez?ssel, Patrick Giraudoux ?rta:
Dear listers, On a simulation purpose, I would like to generate data variying from random to various degrees of overdispersion on a raster grid.? For instance on a matrix 1000 x 1000, to select a number of pixels that could be considered spatially aggregated (with a possibility for tuning the degree of aggregation from "random" - no aggregation - to strong clusters). Has anyone heard about how to proceed or an idea about it? Best, Patrick [[alternative HTML version deleted]]
_______________________________________________ R-sig-ecology mailing list R-sig-ecology at r-project.org https://stat.ethz.ch/mailman/listinfo/r-sig-ecology