main_save_files: Save data and results

Description Usage Arguments

View source: R/main_utils.R

Description

Save data and results

Usage

1
2
main_save_files(project_folder, sim_pars, optim_ids, cond, n_0, t_0s, seed, sim,
  results)

Arguments

project_folder

the folder when 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 not available;

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

  • cond = 4 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


richelbilderbeek/splendid documentation built on May 20, 2019, 9:42 a.m.