Defines a spatial range of a population and its most important parameters.

population(
name,
time,
N,
parent = "ancestor",
map = FALSE,
center = NULL,
polygon = NULL,
remove = NULL,
intersect = TRUE,
competition_dist = NA,
mate_dist = NA,
dispersal_dist = NA,
aquatic = FALSE
)

Arguments

name Name of the population Time of the population's first appearance Number of individuals at the time of first appearance Parent population object or "ancestor" (indicating that the population does not have an ancestor, and that it is the first population in its "lineage") Object of the type slendr_map which defines the world context (created using the world function). If the value FALSE is provided, a non-spatial model will be run. Two-dimensional vector specifying the center of the circular range Radius of the circular range List of vector pairs, defining corners of the polygon range or a geographic region of the class slendr_region from which the polygon coordinates will be extracted (see the region() function) Time at which the population should be removed Intersect the population's boundaries with landscape features? Maximum spatial competition and mating choice distance Standard deviation of the normal distribution of the distance that offspring disperses from its parent Is the species aquatic (FALSE by default, i.e. terrestrial species)?

Value

Object of the class slendr_pop

Details

There are three ways to specify a spatial boundary: i) circular range specified using a center coordinate and a radisu, ii) polygon specified as a list of two-dimensional vector coordinates, iii) polygon as in ii), but defined (and named) using the region function.