tests/testthat/test-pDTGIW.R

test_that("The CDF of DTGIW", {
  x <- c(0:10)
  expect_equal(pDTGIW(x,3.45,0.7,1.05,0), pDTGIW(x,3.45,0.7,1.05,0,lower.tail=TRUE,log.p=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.