rcd | R Documentation |
This function conducts individual-based, genetically explicit numerical simulation of reproductive character displacement in an ecological community. The model is one of multiple species (with fixed relative abundance) competing to utilize the same signal space. There is both stabilizing selection on the signal trait for detectability, as well as (in multi-species simulations) countervailing selection for divergence due to the costs of erroneous mismating attempts.
rcd(nsp=3, nindivs=c(700,400,100), w_t=10, gen=c(500,500), figs="on", pf=100, ...)
nsp |
Number of species in the simulation. If |
nindivs |
A vector of length |
w_t |
Shape parameter of the Gaussian selection surface for the male signalling trait. |
gen |
Vector containing the number of allopatric generations followed by the number of sympatric generations for simulation. |
figs |
Either |
pf |
Print frequency for the simulation status to screen. |
... |
Optional arguments. |
The function returns a list containing the mean male signal trait and the mean female preference over time. It also (optionally) plots these.
Liam Revell liam.revell@umb.edu
drift.selection
, genetic.drift
, freqdep
, selection
## Not run: obj<-rcd(nsp=2,nindivs=c(500,500)) ## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.