mcmc_to_xml_run: Converts an MCMC object to the run section's XML

View source: R/mcmc_to_xml_run.R

mcmc_to_xml_runR Documentation

Converts an MCMC object to the run section's XML

Description

Converts an MCMC object to the run section's XML

Usage

mcmc_to_xml_run(mcmc)

Arguments

mcmc

one MCMC. Use create_mcmc to create an MCMC. Use create_ns_mcmc to create an MCMC for a Nested Sampling run. Use check_mcmc to check if an MCMC is valid. Use rename_mcmc_filenames to rename the filenames in an MCMC.

Value

the XML as text

Author(s)

Richèl J.C. Bilderbeek

Examples

if (is_on_ci()) {

  check_empty_beautier_folder()

  # <run id=\"mcmc\" spec=\"MCMC\" chainLength=\"1e+07\">
  mcmc_to_xml_run(create_mcmc())

  check_empty_beautier_folder()
}

ropensci/beautier documentation built on July 9, 2024, 6:14 a.m.