tests/testthat/test-ASB.R

test_that("ASB works", {
  expect_length(ASB(data = MARMoT_data,
                   confounders = c("race", "age"), treatment = "hospital"), 2)
})

Try the MARMoT package in your browser

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

MARMoT documentation built on May 29, 2024, 9:56 a.m.