define_analysis: Define analysis function meta information for ADaM dataset

View source: R/define.R

define_analysisR Documentation

Define analysis function meta information for ADaM dataset

Description

Define analysis function meta information for ADaM dataset

Usage

define_analysis(meta, name, ...)

Arguments

meta

A meta_adam object.

name

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

...

Additional variables.

Value

A metadata object with analysis details defined.

Examples

plan <- plan(
  analysis = "ae_summary", population = "apat",
  observation = c("wk12", "wk24"), parameter = "any;rel;ser"
)

meta_adam(
  population = r2rtf::r2rtf_adsl,
  observation = r2rtf::r2rtf_adae
) |>
  define_plan(plan = plan) |>
  define_analysis(
    name = "ae_summary",
    title = "Summary of Adverse Events"
  )

metalite documentation built on Sept. 11, 2024, 7:18 p.m.