View source: R/matching_preprocessing.R
| auto_encode_categorical | R Documentation |
Converts categorical variables to numeric representations suitable for matching. Currently supports binary variables (0/1) and ordered factors.
auto_encode_categorical(left, right, var)
left |
Data frame of left units |
right |
Data frame of right units |
var |
Variable name to encode |
List with encoded left and right columns, plus encoding metadata
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.