create_mainland_comm: Create the mainland community

View source: R/create_mainland_comm.R

create_mainland_commR Documentation

Create the mainland community

Description

Create a static pool of mainland species to draw immigrants from, with the parameters of the associated trait distribution

Usage

create_mainland_comm(mainland_nb_species, z_range, mainland_z_sd = 0.2)

Arguments

mainland_nb_species

integer, the number of species in the island community.

z_range

a range of trait values to sample the mean trait values of each species from.

mainland_z_sd

standard deviation of the trait distribution of mainland species

Details

trait values of individuals will be sampled in a normal distribution, with the mean of each species sampled in a uniform distribution bounded by z_range.


TheoPannetier/comsie documentation built on Nov. 21, 2022, 4:35 p.m.