Nothing
test_that("ard_strata() works", {
expect_snapshot(
ard_strata(
ADSL,
.by = ARM,
.f = ~ ard_continuous(.x, variables = AGE)
)
)
expect_snapshot(
ard_strata(
ADSL,
.strata = ARM,
.f = ~ ard_continuous(.x, variables = AGE, by = AGEGR1)
)
)
expect_equal(
ard_strata(ADSL, .by = ARM, .f = ~ ard_continuous(.x, by = c(SEX, AGEGR1), variables = AGE)) |>
tidy_ard_column_order() |>
tidy_ard_row_order(),
ard_continuous(ADSL, by = c(SEX, AGEGR1, ARM), variables = AGE) |>
tidy_ard_row_order()
)
})
test_that("ard_strata(by,strata) when both empty", {
expect_equal(
ard_strata(ADSL, .f = ~ ard_continuous(.x, variables = AGE)),
ard_continuous(ADSL, variables = AGE)
)
expect_equal(
ard_strata(ADSL, .f = ~ ard_continuous(.x, by = ARM, variables = AGE)),
ard_continuous(ADSL, by = ARM, variables = AGE)
)
})
Any scripts or data that you put into this service are public.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.