ll_assert_labelled {zmisc}R Documentation

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)

Arguments

x

A labelled variable

Value

Invisibly returns x if the check is successful.

See Also

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


[Package zmisc version 0.2.3 Index]