create_CS_version: Creates the list object for CS_version argument in...

View source: R/create_pars.R

create_CS_versionR Documentation

Creates the list object for CS_version argument in DAISIE_ML_CS

Description

Creates the list object for CS_version argument in DAISIE_ML_CS

Usage

create_CS_version(
  model = 1,
  relaxed_par = NULL,
  par_sd = 0,
  par_upper_bound = Inf
)

Arguments

model

the CS model to run, options are 1 for single rate DAISIE model, 2 for multi-rate DAISIE, or 0 for IW test model

relaxed_par

the parameter to relax (integrate over). Options are "cladogenesis", "extinction", "carrying_capacity", "immigration", or "anagenesis"

par_sd

standard deviation of the parameter to relax

par_upper_bound

upper bound of the parameter to relax

Value

A list of four elements

  • model: the CS model to run, options are 1 for single rate DAISIE model, 2 for multi-rate DAISIE, or 0 for IW test model

  • relaxed_par: the parameter to relax (integrate over).

  • par_sd: the standard deviation of the parameter to relax

  • par_upperbound: upper bound of the parameter to relax.


DAISIE documentation built on Oct. 22, 2023, 1:06 a.m.