is_dictionary: Check if an object is a lama_dictionary class object

Description Usage Arguments Value See Also Examples

Description

Check if an object is a lama_dictionary class object

Usage

1

Arguments

obj

The object in question

Value

TRUE if the object is a lama_dictionary class object, FALSE otherwise.

See Also

validate_lama_dictionary(), as.lama_dictionary(), new_lama_dictionary(), lama_translate(), lama_to_factor(), lama_translate_all(), lama_to_factor_all(), lama_read(), lama_write(), lama_translate(), lama_read(), lama_write(), lama_select(), lama_rename(), lama_mutate(), lama_merge()

Examples

1
2
3
# check if an object is a 'lama_dictionary' class object
dict <- new_lama_dictionary(country = c(uk = "United Kingdom", fr = "France"))
is.lama_dictionary(dict)

labelmachine documentation built on Oct. 11, 2019, 9:05 a.m.