pbd_find_scenario: Create an example scenario

Description Usage Arguments

View source: R/pbd_find_scenario.R

Description

Create an example scenario

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
pbd_find_scenario(
  scr,
  sirg,
  siri,
  scenario,
  erg = 0,
  eri = 0,
  crown_age = 1,
  min_n_species = 1,
  max_n_species = 10000,
  min_n_subspecies = 2,
  max_n_subspecies = 10000,
  rng_seed = 42
)

Arguments

scr

Speciation Completion Rate

sirg

Speciation Initiation Rate of Good Species

siri

Speciation Initiation Rate of Incipient Species

scenario

scenario to look for, can be 'equal' (branch length of youngest equals oldest equals random) 'expected', 'ylto' (youngest longer than oldest) 'rsty' (random shorter than youngest) 'rlto' (random longer than oldest) 'expsl' (expected, but also includes shortest and longest) 'yltosl' (ylto, but also includes shortest and longest) 'rstysl' (rsty, but also includes shortest and longest) 'rltosl' (rlto, but also includes shortest and longest) 'rsts' (random shorter than shortest) 'rltl' (random longer than longest) 'sltl' (shortest longer than longest)

erg

Extinction Rate of Good Species

eri

Extinction Rate of Incipient Species

crown_age

crown age of the phylogeny

min_n_species

minimal number of good species

max_n_species

maximal number of good species,

min_n_subspecies

minimal number of subspecies

max_n_subspecies

maximal number of subspecies

rng_seed

Random Number Generator seed


richelbilderbeek/becosys documentation built on Oct. 19, 2020, 9:20 a.m.