Nothing
test_that("entropy extremes", {
e <- entropy(c("H", "T", "H", "T"))
expect_equal(e, 1)
expect_equal(entropy(c("H", "H")), 0)
})
test_that("entropy ignores NA", {
e1 <- entropy(c("H", "T", "H", "T", "H", "H", NA))
e2 <- entropy(c("H", "T", "H", "T", "H", "H"))
expect_equal(e1, e2)
})
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.