Nothing
context("Checking Outputs")
test_that("checking value",{
expect_identical(round(pBetaBin(2,4,0.5,0.4),4),
0.5056)
})
test_that("checking class",{
expect_that(pBetaBin(2,4,0.5,0.1),
is_a("numeric"))
})
test_that("checking length of output",{
expect_equal(length(pBetaBin(1:2,4,0.5,1)),2)
})
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.