View source: R/lama_translate.R
Checks arguments and translate a vector
1 2 | check_and_translate_vector(.data, dictionary, args, keep_order, to_factor,
is_translated, err_handler)
|
.data |
Either a data frame, a factor or an atomic vector. |
dictionary |
A lama_dictionary object, holding the translations for various variables. |
args |
The list of arguments given in ... when calling |
keep_order |
A boolean vector of length one or the same length as the
number of translations. If the vector has length one, then the same
configuration is applied to all variable translations. If the vector has
the same length as the number of arguments in |
to_factor |
A boolean vector of length one or the same length as the
number of translations. If the vector has length one, then the same
configuration is applied to all variable translations. If the vector has
the same length as the number of arguments in |
is_translated |
A boolean vector of length one or the same length as the
number of translations. If the vector has length one, then the same
configuration is applied to all variable translations.
If |
err_handler |
An error handling function |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.