is.lama_dictionary {labelmachine}R Documentation

Check if an object is a lama_dictionary class object

Description

Check if an object is a lama_dictionary class object

Usage

is.lama_dictionary(obj)

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

# 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)

[Package labelmachine version 1.0.0 Index]