main_save_files: Save data and results

Description Usage Arguments

View source: R/sls_main_utils.R

Description

Save data and results

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
main_save_files(
  project_folder,
  sim_pars,
  optim_ids,
  cond,
  n_0,
  t_0s,
  seed,
  sim,
  results
)

Arguments

project_folder

the folder where you want to save data and results

sim_pars

parameters of the simulation

optim_ids

ids of the parameters you want to optimize.

cond

type of conditioning:

  • cond = 0 no conditiong;

  • cond = 1 conditions on the survival of crown descendents;

  • cond = 2 conditions on the survival of subclade and on the other crown descendents in the main clade;

  • cond = 3 conditions on the survival of the subclade and both crown descendents in the main clade;

n_0

starting number of lineages

t_0s

starting time for each clade

seed

the seed

sim

the results of a sim run

results

mle results


Giappo/sls documentation built on Feb. 1, 2021, 9:55 a.m.