calculate_number_scores {samesies} | R Documentation |
Calculate Similarity Scores Between Two Numeric Lists
Description
Calculate Similarity Scores Between Two Numeric Lists
Usage
calculate_number_scores(
list1,
list2,
method,
epsilon = NULL,
max_diff = NULL,
epsilon_pct = NULL
)
Arguments
list1 |
First list of numeric values |
list2 |
Second list of numeric values |
method |
Method to use for similarity calculation. One of: "exact", "percent", "normalized", "fuzzy", "exp", "raw" |
epsilon |
Threshold for fuzzy matching. Only used when method is "fuzzy" |
max_diff |
Maximum difference for normalization. Only used when method is "normalized" |
epsilon_pct |
Relative epsilon percentile (default: 0.02 or 2%). Only used when method is "fuzzy" |
Value
Vector of numeric similarity scores between 0 and 1
[Package samesies version 0.1.0 Index]