is_default_mcmc: Determine if the MCMC is a default MCMC

View source: R/is_default_mcmc.R

is_default_mcmcR Documentation

Determine if the MCMC is a default MCMC

Description

Determine if the MCMC is a default MCMC

Usage

is_default_mcmc(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

TRUE if the MCMC is a default MCMC

Author(s)

Richèl J.C. Bilderbeek

Examples

if (is_on_ci()) {

  check_empty_beautier_folder()

  # TRUE: An MCMC created by 'create_mcmc' is default.
  is_default_mcmc(create_mcmc())

  # FALSE: An MCMC created by 'create_ns_mcmc' is not
  is_default_mcmc(create_ns_mcmc())

  check_empty_beautier_folder()
}

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