DispersalSimulator: Global function to simulate evolution on a sphere

Description Usage Arguments Details Value Author(s) Examples

View source: R/DispersalSimulator.R

Description

Global function to generate simulated continents and clades on a sphere

Usage

 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
)

Arguments

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.

Details

Nothing yet.

Value

A magic table of awesomeness.

Author(s)

Laura C. Soul lauracsoul@gmail.com and Graeme T. Lloyd graemetlloyd@gmail.com

Examples

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)

laurasoul/dispeRse documentation built on May 25, 2021, 4:50 a.m.