Will stop if the arguments are not MCMCs.

are_equal_mcmcs(mcmc_1, mcmc_2)

Arguments

mcmc_1

an MCMC, as created by create_mcmc

mcmc_2

an MCMC, as created by create_mcmc

Value

TRUE if the two MCMCs are equal

See also

Use create_mcmc to create an MCMC

Author

Richèl J.C. Bilderbeek

Examples

mcmc_1 <- create_mcmc(chain_length = 1000)
mcmc_2 <- create_mcmc(chain_length = 314)
# TRUE
are_equal_mcmcs(mcmc_1, mcmc_1)
#> [1] TRUE
# FALSE
are_equal_mcmcs(mcmc_1, mcmc_2)
#> [1] FALSE