Nothing
context("Posterior predictive distribution")
test_that("MBP", {
set.seed(9)
mp <- McmcParams(iter=10, burnin=5, nStarts=1, thin=1)
mb <- MultiBatchModelExample
mbp.tmp <- as(mb, "MultiBatchPooled")
expect_identical(length(sigma(mbp.tmp)), 3L)
ch <- sigma2(chains(mbp.tmp))
expect_identical(dim(ch), c(iter(mb), 3L))
hp <- hpList(k=3)[["MBP"]]
mbp <- MultiBatchPooled(dat=y(mb),
hp=hp,
mp=mp,
batches=batch(mb))
ch <- sigma2(chains(mbp))
expect_identical(dim(ch), c(iter(mbp), 3L))
expect_warning(mbp <- posteriorSimulation(mbp))
})
Any scripts or data that you put into this service are public.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.