Description Usage Arguments Details Value Author(s) Examples
View source: R/DispersalSimulator.R
Global function to generate simulated continents and clades on a sphere
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 | DispersalSimulator(
N_steps = 1000,
organism_multiplier = 5,
N_continents = 7,
radius = 2000,
start_configuration = "random separate",
squishiness = 0.25,
stickiness = 0.95,
continent_speed_mean = 5,
continent_speed_sd = 2,
organism_step_sd = 100,
organism_step_shape = 1,
b = 0.1,
d = 0.05,
sweepstakes = 0,
EarthRad = 6367.4447,
polar = FALSE
)
|
N_steps |
The number of time steps in the simulation. |
organism_multiplier |
The number of organism time steps to be taken per continent time step. |
N_continents |
The (maximum) number of individual continents. |
radius |
The radius of each circular continent. |
start_configuration |
One of "random separate", "random overlap", "supercontinent", or "max separate". |
squishiness |
A value from 0 (continents can never overlap) to 1 (continents can overlap completely). |
stickiness |
Probability of two conjoined continents remaining conjoined in the next time step. |
continent_speed_mean |
Mean continent speed (kilometers per time step). |
continent_speed_sd |
Standard deviation of continent speed (kilometers per time step). |
organism_step_sd |
Standard deviation used for random walk draws for organisms. |
organism_step_shape |
Shape parameter to use for drawing bearings for organisms. |
b |
Per-lineage birth (speciation) rate. |
d |
Per-lineage death (extinction) rate. |
sweepstakes |
The probability of a sweepstakes dispersal occuring each time an organism hits the coast. |
EarthRad |
Radius of the Earth in kilometres. |
polar |
Whether continents are allowed to exist exactly at the poles. |
Nothing yet.
A magic table of awesomeness.
Laura C. Soul lauracsoul@gmail.com and Graeme T. Lloyd graemetlloyd@gmail.com
1 2 3 4 | #DispersalSimulator(N_steps = 100, organism_multiplier = 5, N_continents = 2, radius = 2000,
# start_configuration = "random separate", squishiness = 0.25, stickiness = 0.95,
# continent_speed_mean = 5, continent_speed_sd = 2, organism_step_sd = 100, sweepstakes = 0,
# b = 0.1, d = 0.05, EarthRad = 6367.4447, polar = FALSE)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.