make_labels: Make labels from a character vector of variable names

Description Usage Arguments Value Author(s)

View source: R/utils.R

Description

Make labels from a character vector of variable names

Usage

1
2
make_labels(vars = NULL, lookup_table = NULL, name_col = NULL,
  label_col = NULL, label_pattern = "[%s]", split_char = ":")

Arguments

vars
lookup_table
name_col
label_col

Value

character vector of labels, corresponding to the variable names. If variable name is not available in the lookup table, the returned vector contains the variable name itself.

Author(s)

Janko Cizel


jcizel/rtable documentation built on May 18, 2019, 10:25 p.m.