Default values for variables
parameter in g_lineplot
function.
A variable's default value can be overwritten for any variable.
Usage
control_lineplot_vars(
x = "AVISIT",
y = "AVAL",
strata = "ARM",
paramcd = "PARAMCD",
y_unit = "AVALU",
cohort_id = "USUBJID"
)
Arguments
- x
(character
)
x variable name.
- y
(character
)
y variable name.
- strata
(character
or NA
)
strata variable name.
- paramcd
(character
or NA
)
paramcd
variable name.
- y_unit
(character
or NA
)
y_unit
variable name.
- cohort_id
(character
or NA
)
variable to identify subjects in cohorts.
Value
A named character vector of variable names.
Examples
control_lineplot_vars()
#> x y strata paramcd y_unit cohort_id
#> "AVISIT" "AVAL" "ARM" "PARAMCD" "AVALU" "USUBJID"
control_lineplot_vars(strata = NA)
#> x y strata paramcd y_unit cohort_id
#> "AVISIT" "AVAL" NA "PARAMCD" "AVALU" "USUBJID"