This function generate a random point pattern using Simple Sequential Inhibition (SSI) process, uniform sampling and regular grid point.
SDALGCPpolygonpoints(
my_shp,
delta,
method = 1,
pop_shp = NULL,
weighted = FALSE,
rho = NULL,
plot = FALSE,
giveup = NULL
)A SpatialPolygons or SpatialPolygonsDataFrame object containing the polygons (i.e each regions).
distance between points
To specify which method to use to sample the points, the options are 1 for Simple Sequential Inhibition (SSI) process, 2 for Uniform sampling and 3 for regular grid. 1 is the default
Optional, The raster of population density map for population weighted approach
To specify if you want to use the population density, default to FALSE, i.e population density is not used.
Optional, The packing density, default set to 0.55
To display the plot of the points inside the polygon, default to TRUE
Number of rejected proposals after which the algorithm should terminate.
It returns a list of the coordinates of the points created in each polygon and it has an associated attribute weighted which is either TRUE or FALSE to indicate if the population density is used or not.
This algorithm generates points inside the polygon using three algorithms specified in the method.
SDALGCPCreatePoint, SDALGCPSSIPoint, SDALGCPUniformPoint, SDALGCPRegularPoint