context("compute WAIC")
test_that("WAIC gives correct output", {
expect_equal(round(computeWAIC(TD$m),1),
0.5)
})
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.