add_plan {metalite}R Documentation

Add additional analysis plan

Description

Add additional analysis plan

Usage

add_plan(plan, analysis, population, observation, parameter, ...)

Arguments

plan

A meta_plan object.

analysis

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

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.

...

Additional arguments.

Value

A data frame containing analysis plans with new plans added.

Examples

plan("ae_summary",
  population = "apat",
  observation = c("wk12", "wk24"), parameter = "any;rel"
) |>
  add_plan("ae_specific",
    population = "apat",
    observation = c("wk12", "wk24"), parameter = c("any", "rel")
  )

[Package metalite version 0.1.3 Index]