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"
)
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.
Value
A named character vector of variable names.
Examples
control_lineplot_vars()
#> x y strata paramcd y_unit
#> "AVISIT" "AVAL" "ARM" "PARAMCD" "AVALU"
control_lineplot_vars(strata = NA)
#> x y strata paramcd y_unit
#> "AVISIT" "AVAL" NA "PARAMCD" "AVALU"