Description Usage Arguments Value
View source: R/lama_translate.R
This function relabels a vector
1 2 | translate_vector(val, translation, keep_order, to_factor, is_translated,
err_handler)
|
val |
The vector that should be relabeled. Allowed are all vector types (also factor). |
translation |
Named character vector holding the label assignments. |
keep_order |
A logical flag. If the vector in |
to_factor |
A logical flag. If set to |
is_translated |
A logical flag. If |
err_handler |
An error handling function |
A factor vector holding the assigned labels
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.