tests/testthat/test-nchains.R

test_that("nchains", {
  expect_identical(nchains(as.mcmc.list(mcmcr_example)), 2L)
  expect_identical(nchains(mcmcr_example), 2L)
})

Try the mcmcr package in your browser

Any scripts or data that you put into this service are public.

mcmcr documentation built on Sept. 7, 2021, 1:07 a.m.