get_relabel_call: Create relabel call from named character

View source: R/get_merge_call.R

get_relabel_callR Documentation

Create relabel call from named character

Description

Function creates relabel call from named character.

Usage

get_relabel_call(labels)

Arguments

labels

(named character) where name is name is function argument name and value is a function argument value.

Value

call object with relabel step.

Examples

get_relabel_call(
  labels = c(
    x = as.name("ANL"),
    AGE = "Age",
    AVAL = "Continuous variable"
  )
)

get_relabel_call(
  labels = c(
    AGE = "Age",
    AVAL = "Continuous variable"
  )
)

teal.transform documentation built on Aug. 21, 2025, 5:55 p.m.