Learn R Programming

phyloregion (version 1.0.8)

random_species: Generate random species distributions in space

Description

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

Usage

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

Value

A vector polygon of species' extent of occurrence ranges.

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.

Author

Barnabas H. Daru darunabas@gmail.com