variable_label: variable_label() gets the variable label from a labelled...

View source: R/variable_label.R

variable_labelR Documentation

variable_label() gets the variable label from a labelled variable, from a data_frame

Description

variable_label() gets the variable label from a labelled variable, from a data_frame

Usage

variable_label(d)

Arguments

d

is a variable from a data_frame

Details

is a wrapper to extract the label attribute from an object

Value

returns a string, which contains the variable label of variable, from a labelled data_frame

Examples

variable_label(data_frame$variable)


dacarras/r4sda documentation built on Nov. 9, 2023, 10:17 a.m.