is_labelled: Check whether the variable is labelled

Description Usage Arguments Details Value Examples

Description

Check whether the variable is labelled

Usage

1

Arguments

x

a vector

Details

Check whether the variable is labelled

Value

TRUE/FALSE

Examples

1
2
x <- haven::labelled(c(1, 1, 2, 3, 4), c(Male = 1, Male = 2, Female = 3))
is_labelled(x)

bdemeshev/rlms documentation built on May 12, 2019, 3:41 a.m.