Description Usage Arguments Value See Also
View source: R/get_maps_to_categories.R
Creates maps from the levels proposed by as.factor
when it is
applied to each integer and logical column in a data.frame. The maps are
given in a list with names given by the names of the integer and logical
columns in the data set. Each item is either a named logical or named integer
vector, with names given by the unique factor levels, and values given by the
unique values of the corresponding column.
1 |
X |
data.frame; a incomplete data set including any of numeric, logical, integer, factor and ordered data types. |
named list;
names are given by the column names of X
which have logical
or integer data, and each item is either a named logical or named
integer vector, with names given by the unique factor levels
due to passing the column to as.factor
and the
values are given by the corresponding unique values of the column,
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.