create_test_treelog: Create a 'treelog' object to be used in testing

View source: R/create_test_treelog.R

create_test_treelogR Documentation

Create a treelog object to be used in testing

Description

Create a treelog object to be used in testing

Usage

create_test_treelog(
  filename = create_temp_treelog_filename(),
  log_every = 1000,
  mode = "tree",
  sanitise_headers = FALSE,
  sort = "none"
)

Arguments

filename

name of the file to store the posterior trees

log_every

number of MCMC states between writing to file

mode

mode how to log. Valid values are the ones returned by get_log_modes

sanitise_headers

set to TRUE to sanitise the headers of the log file

sort

how to sort the log. Valid values are the ones returned by get_log_sorts

Value

a treelog object

Author(s)

Richèl J.C. Bilderbeek

Examples

create_test_treelog()

beautier documentation built on Nov. 2, 2023, 5:08 p.m.