plan {metalite} | R Documentation |
Create a analysis plan from all combination of variables
Description
This function is a wrapper of base::expand.grid()
.
Usage
plan(analysis, population, observation, parameter, mock = 1, ...)
Arguments
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. |
mock |
A numeric value of mock table number. |
... |
Additional arguments. |
Value
A data frame containing the analysis plan.
Examples
# Example 1
# Create an analysis plan of AE summary
# with any AE, drug-related AE, and serious AE
plan(
analysis = "ae_summary",
population = "apat",
observation = c("wk12", "wk24"),
parameter = "any;rel;ser"
)
# Example 2
# Create an analysis plan of AE specific
# with any AE, drug-related AE, and serious AE
plan(
analysis = "ae_specific",
population = "apat",
observation = c("wk12", "wk24"),
parameter = c("any", "rel", "ser")
)
[Package metalite version 0.1.3 Index]