Nothing
context("test_PBD")
test_that("PBD works", {
pbd_sim(c(0.2,1,0.2,0.1,0.1),15)
expect_equal(2 * 2, 4)
res1 <- pbd_ML(
brts = 1:10,
initparsopt = c(4.62,4.34,0.03),
exteq = 1,
cond = 1)
res2 <- pbd_ML(
brts = 1:10,
initparsopt = c(4.62,4.34,0.03),
exteq = 1,
cond = 2,
n_l = 2,
n_u = Inf)
res2a <- pbd_ML(
brts = 1:10,
initparsopt = c(4.62,4.34,0.03),
exteq = 1,
cond = 2,
n_l = 2,
n_u = 1000)
expect_equal(res1, res2)
expect_equal(res2, res2a)
})
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.