generate_from_prior: function to perform ABC-SMC

View source: R/generate_from_prior.R

generate_from_priorR Documentation

function to perform ABC-SMC

Description

function to perform ABC-SMC

Usage

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 Feb. 17, 2025, 8:20 p.m.