create_results_file_name: Create results file name

Description Usage Arguments

View source: R/mbd_main_utils.R

Description

Create results file name

Usage

1
2
3
4
5
6
7
8
9
create_results_file_name(
  results_folder,
  sim_pars,
  optim_ids,
  cond,
  n_0,
  t_0s,
  seed
)

Arguments

results_folder

The results folder insider the project folder.

sim_pars

vector of starting parameters:

  • sim_pars[1] is lambda, the sympatric speciation rate;

  • sim_pars[2] is mu, the extinction rate;

  • sim_pars[3] is nu, the multiple allopatric speciation trigger rate;

  • sim_pars[4] is q, the single-lineage speciation probability;

optim_ids

ids of the parameters you want to optimize.

cond

sets the conditioning

  • cond = 0: no conditioning;

  • cond = 1: conditioning on stem or crown age and non-extinction of the phylogeny;

n_0

the number of lineages at time equals zero.

t_0s

starting time for each clade

seed

the seed


Giappo/mbd documentation built on March 3, 2020, 3:36 a.m.