Description Usage Arguments Details Value Author(s) Examples
This function generate a random point pattern using a uniform sampling or completely spatial random sampling. An internal function for SDALGCP
package.
1 2 3 4 5 6 7 8 9 10 11 12 |
poly |
polygon in which to generate the points |
delta |
distance between points |
weighted |
To specify if you want to use the population density, default to FALSE, i.e population density is not used. |
pop_shp |
Optional, The raster of population density map for population weighted approach |
lambdamax |
the maximum value of the population density in the polygon |
pop |
the population density. |
n |
optional; the number of points to create in the polygon, if not supplied, it is computed as n = rho*|A|*4/(π*delta^2) |
rho |
Optional, The packing density, default set to 0.55 |
giveup |
Number of rejected proposals after which the algorithm should terminate. |
bound |
Spatial object; the boundary of the polygon |
This algorithm generates points inside the polygon using a uniform sampling or completely spatial random sampling.
It returns a list of the coordinates of the points created in each polygon.
Olatunji O. Johnson o.johnson@lancaster.ac.uk
Emanuele Giorgi e.giorgi@lancaster.ac.uk
Peter J. Diggle p.diggle@lancaster.ac.uk
1 2 3 4 5 6 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.