View source: R/are_equal_mcmcs.R
are_equal_mcmcs | R Documentation |
Will stop if the arguments are not MCMCs.
are_equal_mcmcs(mcmc_1, mcmc_2)
mcmc_1 |
an MCMC, as created by |
mcmc_2 |
an MCMC, as created by |
TRUE if the two MCMCs are equal
Richèl J.C. Bilderbeek
Use create_mcmc
to create an MCMC
if (is_on_ci()) {
check_empty_beautier_folder()
mcmc_1 <- create_mcmc(chain_length = 1000)
mcmc_2 <- create_mcmc(chain_length = 314)
# TRUE
are_equal_mcmcs(mcmc_1, mcmc_1)
# FALSE
are_equal_mcmcs(mcmc_1, mcmc_2)
check_empty_beautier_folder()
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.