dist_col_type {representr} | R Documentation |
dist_col_type Inner column type record distance function
Description
dist_col_type Inner column type record distance function
Usage
dist_col_type(a, b, col_type, weights, orders)
Arguments
a |
record a |
b |
record b |
col_type |
A vector encoding the column type for each column in the dataset. Can take values in "categorical", "ordinal", "string", or "numeric" |
weights |
A vector of weights for each column for making some column distances more important. Must sum to 1. Defaults to equal weights. |
orders |
A named list containing the order of the levels in each ordinal column. Defaults to NULL, which corresponds to no ordinal variables. |
[Package representr version 0.1.5 Index]