react_disposition {metalite.sl}R Documentation

Display interactive disposition tables with AE subgroup analysis

Description

Display interactive disposition tables with AE subgroup analysis

Usage

react_disposition(
  metadata_sl,
  metadata_ae,
  analysis = "disp",
  population = metadata_sl$plan[metadata_sl$plan$analysis == analysis, ]$population,
  sl_parameter = paste(metadata_sl$plan[metadata_sl$plan$analysis == analysis,
    ]$parameter, collapse = ";"),
  display_total = TRUE,
  width = 1200
)

Arguments

metadata_sl

A metadata created by metalite, which builds the baseline characteristic table

metadata_ae

A metadata created by metalite, which builds the AE subgroup specific table

analysis

The analysis label provided in metadata_sl.

population

A character value of population term name. The term name is used as key to link information.

sl_parameter

A character value of parameter term name for the baseline characteristic table. The term name is used as key to link information.

display_total

Display total column or not.

width

A numeric value of width of the table in pixels.

Value

An reactable combing both baseline characteristic table and AE subgroup specific tables.

Examples

if (interactive()) {
  react_disposition(
    metadata_sl = meta_sl_example(),
    metadata_ae = metalite.ae::meta_ae_example(),
    width = 1200
  )
}

[Package metalite.sl version 0.1.0 Index]