tests/testthat/test_estimate.R

test_that("Time Estimate - Unit Check", {
  data <- SEQdata
  time <- SEQestimate(data, "ID", "time", "eligible", "tx_init", "outcome", list("N", "L", "P"), list("sex"),
                      method = "ITT", options = SEQopts())
  expect_length(time, 3)
})

Try the SEQTaRget package in your browser

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

SEQTaRget documentation built on Sept. 15, 2025, 9:09 a.m.