Learn R Programming

zmisc (version 0.2.3)

ll_assert_labelled: Verify that x is a valid labelled variable

Description

Verify that x is a valid labelled variable satisfying the (minimal) specification inherent in the parameter documentation of the haven::labelled() function for haven_labelled objects.

Usage

ll_assert_labelled(x)

Value

Invisibly returns x if the check is successful.

Arguments

x

A labelled variable

See Also

Other labelled light: ll_labelled(), ll_to_character(), ll_val_labels(), ll_var_label(), threadbare()