Description Usage Arguments Value
View source: R/unmap_categories.R
Map categorical data to specified values of new (or same) type.
1 | unmap_categories(X, to_categories)
|
X |
named list or data.frame; list or data.frame of factor data |
to_categories |
named list;
each named item is of the value-type to map the item or column
with the same name |
list or data.frame;
list or data.frame of the same shape as X
with factors
mapped to the values specified in to_categories
.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.