format_ae_specific_subgroup {metalite.ae} | R Documentation |
Format AE specific subgroup analysis
Description
Format AE specific subgroup analysis
Usage
format_ae_specific_subgroup(
outdata,
display = c("n", "prop"),
digits_prop = 1,
digits_ci = 1,
digits_p = 3,
digits_dur = c(1, 1),
digits_events = c(1, 1),
mock = FALSE
)
Arguments
outdata |
An |
display |
A character vector of measurement to be displayed.
|
digits_prop |
A numeric value of number of digits for proportion value. |
digits_ci |
A numeric value of number of digits for confidence interval. |
digits_p |
A numeric value of number of digits for p-value. |
digits_dur |
A numeric value of number of digits for average duration of adverse event. |
digits_events |
A numeric value of number of digits for average of number of adverse event per subjects. |
mock |
Logical. Display mock table or not. |
Value
A list of analysis raw datasets for subgroup analysis.
Examples
meta <- meta_ae_example()
prepare_ae_specific_subgroup(meta,
population = "apat",
observation = "wk12",
parameter = "rel",
subgroup_var = "SEX",
display_subgroup_total = TRUE
) |>
format_ae_specific_subgroup()