Overview
metalite.sl R package designed for the analysis & reporting of
subject-level analysis in clinical trials. It operates on ADaM datasets
and adheres to the metalite structure. The package encompasses the
following components:
Baseline Characteristics.
This R package offers a comprehensive software development lifecycle
(SDLC) solution, encompassing activities such as definition,
development, validation, and finalization of the analysis.
Workflow
The overall workflow includes the following steps:
- Define metadata information using metalite R package.
- Prepare outdata using
prepare_*()
functions.
- Extend outdata using
extend_*()
functions
(optional).
- Format outdata using
format_*()
functions.
- Create TLFs using
tlf_*()
functions.
For instance, we can illustrate the creation of a straightforward
Baseline characteristic table as shown below.
meta_sl_example() |>
prepare_base_char(
population = "apat",
analysis = "base_char",
parameter = "age;gender"
) |>
format_base_char() |>
rtf_base_char(
source = "Source: [CDISCpilot: adam-adsl]",
path_outdata = tempfile(fileext = ".Rdata"),
path_outtable = tempfile(fileext = ".rtf")
)