tests/testthat/test-dDTGIW.R

test_that("The PMF of DTGIW", {
  x <- c(0:10)
  expect_equal(dDTGIW(x,3.45,0.7,1.05,0), dDTGIW(x,3.45,0.7,1.05,0,log=FALSE))
})

Try the dtgiw package in your browser

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

dtgiw documentation built on March 31, 2022, 9:05 a.m.