This function simulates the coordinates of points either regularly or
randomly  distributed in two dimensions. Other point patterns
can be also chosen, see the type argument for the sf::st_sample()
function. The points are generated within an input polygon or the
bounding box of an input raster. If no spatial object is used as input,
The size of the landscape is defined by the extent_x and extent_y parameters.
It assumes the landscape is square or rectangularly shaped.
Arguments
- n_features
 [integer(1)=1000]
Total number of points to spread in space.- type
 [character(1)="regular"]{"regular", "random"}Pattern for the creation of points is space. Other methods are also accepted, check thetypeargument for thesf::st_sample()function.- base_polygon
 [RasterLayer,sfc_POLYGON]
Polygon (from classsforsfc) inside which the points will be created. If aRasterLayer, thebboxof the raster is used as a polygon.- extent_x, entent_y
 [numeric vector(2)=c(0,1)]
Vector representing the minimum and maximum extent in x and y within which the points should be placed, in the format c(min,max).


