tests/testthat/test-poissonsurvey.R

# REQUIRE TEST Monte Carlo test poissonsurvey ---------------------------------------------

test_that('REQUIRE TEST poissonsurvey Monte Carlo', {
    set.seed("123")
    z <- zpoissonsurvey$new()
    test.poissonsurvey <- z$mcunit(plot = FALSE)
    expect_true(test.poissonsurvey)
})

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.