Skip to content

❗ This is a read-only mirror of the CRAN R package repository. metalite.sl — Subject-Level Analysis Using 'metalite'

Notifications You must be signed in to change notification settings

cran/metalite.sl

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

metalite.sl

Codecov test coverage R-CMD-check

Overview

R package designed for the analysis & reporting of subject baseline characteristics in clinical trials. We assume ADaM datasets are ready for analysis and leverage metalite data structure to define inputs and outputs.

Workflow

The general workflow is:

  1. Define metadata information using metalite.
  2. prepare_sl_summary() prepares datasets for summary of baseline characteristics.
  3. format_base_char() formats output layout.
  4. rtf_base_char() creates TLFs.

Here is a quick example

library("metalite.sl")

meta_sl_example() |>
  prepare_sl_summary(
    population = "apat",
    observation = "apat",
    parameter = "age;gender"
  ) |>
  format_base_char() |>
  rtf_base_char(
    source = "Source: [CDISCpilot: adam-adsl]",
    path_outdata = tempfile(fileext = ".Rdata"),
    path_outtable = tempfile(fileext = ".rtf")
  )

Highlighted features

  • Avoid duplicated input by using metadata structure.
    • For example, define analysis population once to use in all adverse events analysis.
  • Consistent input and output in standard functions.
  • Streamlines mock table generation.

About

❗ This is a read-only mirror of the CRAN R package repository. metalite.sl — Subject-Level Analysis Using 'metalite'

Resources

Stars

Watchers

Forks

Packages

No packages published