Merck / metalite.ae

An R package for standard adverse events analysis
http://merck.github.io/metalite.ae/
GNU General Public License v3.0
17 stars 4 forks source link

Location of `prepare_ae_exp_adj()` #162

Closed elong0527 closed 3 months ago

elong0527 commented 1 year ago

Does prepare_ae_exp_adj belongs to the AE specification analysis in the reference page?

https://merck.github.io/metalite.ae/reference/index.html

or it will require its own format and tlf functions?

wangben718 commented 9 months ago

The program call to generate exposure adjusted AE summary table:

meta <- meta_ae_example()
outdata <- meta |>
prepare_ae_summary(
    population = "apat",
     observation = "wk12",
    parameter = "any;rel;ser"
  ) |>
   extend_ae_summary_eaer(adj_unit = "month") |>
  format_ae_exp_adj() |>
  tlf_ae_exp_adj(
    source = "Source:  [CDISCpilot: adam-adsl; adae]",
    path_outdata = tempfile(fileext = ".Rdata"),
     path_outtable = tempfile(fileext = ".rtf")
  )