within_category_compare_cpp {representr} | R Documentation |
within_category_compare_cpp Inner column type record distance function
Description
within_category_compare_cpp Inner column type record distance function
Usage
within_category_compare_cpp(
ties,
not_cluster,
col_type,
weights,
orders,
distance
)
Arguments
ties |
A data frame of the records that are tied |
not_cluster |
A data frame of the records outside the cluster |
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. |
distance |
function that does nothing right now, but must be supplied to not break other code. |
[Package representr version 0.1.5 Index]