This function generates random species distributions in geographic space as extent of occurrence range polygons based on convex hulls of random points.

random_species(n, species, pol, ...)

Arguments

n

vector of one or more elements to choose from, or a positive integer.

species

the desired number of species.

pol

the vector polygon of the study area for determining the species distributions

...

Further arguments passed to or from other methods.

Value

A vector polygon of species' extent of occurrence ranges.

Author

Barnabas H. Daru darunabas@gmail.com