context("Beta")
test_that("Beta mean is correct", {
expect_equal(mean(beta(0, 1)), 0)
expect_equal(mean(beta(1, 0)), 1)
expect_equal(mean(beta(5, 5)), .5)
})
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.