tests/testthat/test-negbin.R

# REQUIRE TEST Monte Carlo test negbin ---------------------------------------------

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

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.