tests/testthat/test-poissonbayes.R

# REQUIRE TEST Monte Carlo test poissonbayes ---------------------------------------------

test_that('REQUIRE TEST poissonbayes Monte Carlo', {
    z <- zpoissonbayes$new()
    test.poissonbayes <- z$mcunit(minx=1, nsim = 2000, ci=0.99, plot = FALSE)
    expect_true(test.poissonbayes)
})

Try the Zelig package in your browser

Any scripts or data that you put into this service are public.

Zelig documentation built on Jan. 8, 2021, 2:26 a.m.