tests/testthat/test-NonParTrans.R

test_that("Nonparametric transformation model check", {

  ## Check the fit of dependent censoring model

  #Check summary table
  #expect_message(output$parameterEstimates)

  expect_true(-1<rhohat|rhohat<1)
  expect_equal(l, 5)
  expect_true(inherits(output, "fitNonPar"))
})

Try the depCensoring package in your browser

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

depCensoring documentation built on April 4, 2025, 1:52 a.m.