Description Usage Arguments Value See Also Examples
Provide a map for imputation and encoding.
1 | inspect_map(x, common = 0, message = TRUE)
|
x |
The data frame |
common |
a non-negative numerical parameter, if 2 factorial columns share more than 'common' levels, they share the same scheme. 0 means all the levels should be the same for 2 factorial columns to share the same scheme. |
message |
Whether print the process. |
A list of factor_cols
(list), factor_levels
(list), num_cols
(vector), char_cols
(vector), ordered_cols
(vector), and other_cols
(vector).
|
a list, in which each member is a vector of the names of the factorial columns that share the same scheme. The name of a vector is the same as its 1st member. Refer to the argument |
|
a list, in which each member is a scheme of the factorial columns. The name of a scheme is the same as its corresponding vector in |
|
a vector, in which are the names of the numerical columns. |
|
a vector, in which are the names of the string columns. |
|
a vector, in which are the names of the ordered factorial columns. |
|
a vector, in which are the names of the other columns. |
1 2 3 4 5 6 7 8 9 10 11 12 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.