tests/testthat/test-ptpwb.R

test_that("test-ptpwb", {
  x <- rtpwb(20,2,3,1)
  p1 <- ptpwb(x,2,3,1)
  p2 <- ptpwb(x,shape=2,scale=3,location=1)
  expect_equal(p1, p2)
})

Try the tpwb package in your browser

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

tpwb documentation built on May 29, 2024, 3:12 a.m.