test_that("B matrix dimension", {
expect_equal(dim(bMat(4)), c(4, 15))
})
test_that("B matrix only works for k > 2", {
expect_error(bMat(1))
})
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.