Skip to contents

[Stable]

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",
  group_var = "ARM",
  paramcd = "PARAMCD",
  y_unit = "AVALU",
  subject_var = "USUBJID",
  strata = lifecycle::deprecated(),
  cohort_id = lifecycle::deprecated()
)

Arguments

x

(character)
x variable name.

y

(character)
y variable name.

group_var

(character or NA)
group variable name.

paramcd

(character or NA)
paramcd variable name.

y_unit

(character or NA)
y_unit variable name.

subject_var

(character or NA)
subject variable name.

strata

(character or NA)
deprecated - group variable name.

cohort_id

(character or NA)
deprecated - subject variable name.

Value

A named character vector of variable names.

Examples

control_lineplot_vars()
#>           x           y   group_var     paramcd      y_unit subject_var 
#>    "AVISIT"      "AVAL"       "ARM"   "PARAMCD"     "AVALU"   "USUBJID" 
control_lineplot_vars(group_var = NA)
#>           x           y   group_var     paramcd      y_unit subject_var 
#>    "AVISIT"      "AVAL"          NA   "PARAMCD"     "AVALU"   "USUBJID"