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 May 2, 2019, 8:24 a.m.