generate_from_prior: function to perform ABC-SMC

Description Usage Arguments Value

View source: R/generate_from_prior.R

Description

function to perform ABC-SMC

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
generate_from_prior(
  number_of_particles = 1000,
  min_tips = 50,
  max_tips = 150,
  model = NULL,
  crown_age = NULL,
  write_to_file = FALSE,
  file_name,
  exp_prior = FALSE
)

Arguments

number_of_particles

number of particles used per iteration of the SMC algorithm

min_tips

minimum number of tips

max_tips

maximum number of tips

model

used water model

crown_age

crown age

write_to_file

boolean, if TRUE, results are written to file.

file_name

file name

exp_prior

use an exponential prior or not.

Value

a tibble containing the results


thijsjanzen/enviDiv documentation built on Sept. 10, 2020, 11:23 p.m.