Learn R Programming

beautier (version 2.6.12)

create_test_tracelog: Create a tracelog object, as used for testing

Description

Create a tracelog object, as used for testing

Usage

create_test_tracelog(
  filename = create_temp_tracelog_filename(),
  log_every = 1000,
  mode = "autodetect",
  sanitise_headers = TRUE,
  sort = "smart"
)

Value

a tracelog object

Arguments

filename

name of the file to store the posterior traces. Use NA to use the filename [alignment_id].log, where alignment_id is obtained using get_alignment_id

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

Author

Richèl J.C. Bilderbeek

Examples

Run this code
create_test_tracelog()

Run the code above in your browser using DataLab