View source: R/prepare_ae_specific.R
prepare_ae_specific | R Documentation |
Prepare datasets for AE specific analysis
prepare_ae_specific(
meta,
population,
observation,
parameter,
components = c("soc", "par"),
reference_group = NULL
)
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. |
components |
A character vector of components name. |
reference_group |
An integer to indicate reference group. Default is 2 if there are 2 groups, otherwise, the default is 1. |
A list of analysis datasets needed for AE specific analysis.
meta <- meta_ae_example()
str(prepare_ae_specific(meta, "apat", "wk12", "rel"))
# Allow to extract each components
prepare_ae_specific(meta, "apat", "wk12", "rel", components = NULL)$data
prepare_ae_specific(meta, "apat", "wk12", "rel", components = "soc")$data
prepare_ae_specific(meta, "apat", "wk12", "rel", components = "par")$data
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.