format_ae_exp_adj {metalite.ae} | R Documentation |
Format exposure-adjusted AE summary
Description
Format exposure-adjusted AE summary
Usage
format_ae_exp_adj(
outdata,
display = c("n", "total_exp", "events", "eaer", "total"),
digits_total_exp = 2,
digits_eaer = 2,
mock = FALSE
)
Arguments
outdata |
An |
display |
A character vector of measurement to be displayed:
|
digits_total_exp |
A numeric value of number of digits for total exposure value. |
digits_eaer |
A numeric value of number of digits for exposure-adjusted event rate. |
mock |
A boolean value to display mock table. |
Value
A list of analysis raw datasets.
Examples
meta <- meta_ae_example()
outdata <- meta |>
prepare_ae_summary(
population = "apat",
observation = "wk12",
parameter = "any;ser;rel"
) |>
extend_ae_summary_eaer(adj_unit = "month")
tbl <- outdata |>
format_ae_exp_adj()
head(tbl$tbl)
[Package metalite.ae version 0.1.2 Index]