prepare_ae_forestly: Prepare datasets for interactive forest plot

View source: R/prepare_ae_forestly.R

prepare_ae_forestlyR Documentation

Prepare datasets for interactive forest plot

Description

Prepare datasets for interactive forest plot

Usage

prepare_ae_forestly(
  meta,
  population = NULL,
  observation = NULL,
  parameter,
  reference_group = NULL,
  ae_listing_display = c("SEX", "RACE", "AGE", "ASTDY", "AESEV", "AESER", "AEREL",
    "AEACN", "AEOUT", "SITEID", "ADURN", "ADURU")
)

Arguments

meta

A metadata object created by metalite.

population

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

observation

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

parameter

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

reference_group

An integer to indicate reference group. Default is 2 if there are 2 groups, otherwise, the default is 1.

ae_listing_display

A vector of name of variables used to display on AE listing table.

Value

An outdata object.

Examples

meta <- metalite.ae::meta_ae_example()
prepare_ae_forestly(meta, "apat", "wk12", "any;rel")

elong0527/forestly documentation built on July 4, 2023, 6:54 p.m.