tests/testthat/test-mle_tpexp.R

test_that("test-mle_tpexp", {
  x1 <- c(25,43,53,65,76,86,95,115,132,150)
  expect_equal(mle_tpexp(x1), mle_tpexp(x1,theta = 0, beta = 1))
})

Try the twopexp package in your browser

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

twopexp documentation built on July 9, 2023, 7:41 p.m.