Description Usage Arguments Value Examples
View source: R/Sim_Community.R
Creates a spatial community object with defined extent and with coordinates and species identities of all individuals in the community.
1 |
x, y |
Coordinates of individuals (numeric) |
spec_id |
Species names or IDs; can be integers, characters or factors |
xrange |
Extent of the community in x-direction (numeric vector of length 2) |
yrange |
Extent of the community in y-direction (numeric vector of length 2) |
Community object which includes three items:
census: data.frame with three columns: x, y, and species names for each individual
x_min_max: extent of the community in x-direction
y_min_max: extent of the community in y-direction
1 2 3 4 5 6 7 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.