adam_mapping {metalite} | R Documentation |
Construct ADaM mappings
Description
ADaM mappings describe how variables and meta information in the ADaM data are mapped to standardized term.
Usage
adam_mapping(
name,
id = NULL,
group = NULL,
var = NULL,
subset = NULL,
label = NULL,
...
)
Arguments
name |
A character value of term name. The term name is used as key to link information. |
id |
A character value of subject identifier variable name in an ADaM dataset. |
group |
A character vector of group variable names in an ADaM dataset. |
var |
A character vector of useful variable names in an ADaM dataset. |
subset |
An expression to identify analysis records.
See |
label |
A character value of analysis label. |
... |
Additional variables. |
Details
The design is inspired by ggplot2::aes()
.
Value
A list with class adam_mapping
.
Components of the list are either quosures or constants.
Examples
adam_mapping(
name = "apat",
id = "USUBJID",
group = "TRT01A",
subset = TRTFL == "Y",
label = "All Participants as Treated"
)
[Package metalite version 0.1.3 Index]