value_labels: value_labels() gets the value labels from a labelled...

value_labelsR Documentation

value_labels() gets the value labels from a labelled variable, from a data_frame, is simple wrapper from haven::print_labels()

Description

value_labels() gets the value labels from a labelled variable, from a data_frame, is simple wrapper from haven::print_labels()

Usage

value_labels(x, name = NULL)

Arguments

d

is a variable from a data_frame

Details

is a wrapper to extract the label values from an object

Value

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

Examples

value_labels(data_frame$variable)


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