tests/testthat/helper-ae_forestly.R

# Helper functions used by test-ae_forestly.R

test_ae_forestly <- function() {
  metalite.ae::meta_ae_example() |>
    prepare_ae_forestly(
      population = "apat",
      observation = "wk12",
      parameter = "any;rel;ser"
    ) |>
    format_ae_forestly(display = c("n", "prop", "fig_prop"))
}

Try the forestly package in your browser

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

forestly documentation built on April 3, 2025, 7:48 p.m.