[R-sig-eco] generating points from random to overdispersed on a raster grid.
Bede-Fazekas Ákos
b|@|ev||@t @end|ng |rom gm@||@com
Sat Jun 20 12:46:14 CEST 2020
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 using r-project.org
> https://stat.ethz.ch/mailman/listinfo/r-sig-ecology
More information about the R-sig-ecology
mailing list