var_relabel {random.cdisc.data}R Documentation

Primary Keys: Labels

Description

Relabel a subset of variables in a data set.

Usage

var_relabel(x, ...)

Arguments

x

(data.frame)
Data frame containing variables to which labels are applied.

...

(⁠named character⁠)
Name-Value pairs, where name corresponds to a variable name in x and the value to the new variable label.

Value

x (data.frame)
Data frame with labels applied.

Examples

adsl <- radsl()
var_relabel(adsl,
  STUDYID = "Study Identifier",
  USUBJID = "Unique Subject Identifier"
)

[Package random.cdisc.data version 0.3.15 Index]