Description Usage Arguments Value Author(s) Examples
Creates standard metaparameters to defaults when NULL
1 2 3 4 5 6 7 8 9 10 | create_default_pars(
island_ontogeny = 0,
sea_level = 0,
area_pars = NULL,
hyper_pars = NULL,
dist_pars = NULL,
ext_pars = NULL,
totaltime,
pars
)
|
island_ontogeny |
In |
sea_level |
In |
area_pars |
A named list containing area and sea level parameters as
created by
|
hyper_pars |
A named list of numeric hyperparameters for the rate
calculations as returned by
|
dist_pars |
A named list of a numeric distance from the mainland as
created by
|
ext_pars |
A numeric vector:
|
totaltime |
Numeric defining the length of the simulation in time units. |
pars |
A numeric vector containing the model parameters:
The elements 6:10 are required only when type 2 species are included or in the rate shift model. |
Named list with standard parameters and metaparameters needed by
DAISIE
.
Joshua Lambert, Pedro Neves
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 | default_pars <- create_default_pars(
island_ontogeny = 0,
sea_level = 0,
area_pars = create_area_pars(
max_area = 1000,
proportional_peak_t = 0.1,
peak_sharpness = 1,
total_island_age = 10,
sea_level_amplitude = 1,
sea_level_frequency = 10,
island_gradient_angle = 0
),
hyper_pars = create_hyper_pars(
d_0 = 0,
x = 0,
alpha = 0,
beta = 0
),
dist_pars = create_dist_pars(D = 25000),
ext_pars = c(5, 10),
totaltime = 15,
pars = c(2, 1, 0.05, 0.001, 1)
)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.