define_parameter {metalite}R Documentation

Define analysis parameter meta information for ADaM dataset

Description

Define analysis parameter meta information for ADaM dataset

Usage

define_parameter(meta, name, subset = NULL, ...)

Arguments

meta

A meta_adam object.

name

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

subset

An expression to identify analysis records. See base::subset().

...

Additional variables.

Value

A metadata object with parameters 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_parameter(
    name = "rel",
    subset = AEREL %in% c("POSSIBLE", "PROBABLE")
  )

[Package metalite version 0.1.3 Index]