calculate_number_scores | R Documentation |
Calculate Similarity Scores Between Two Numeric Lists
calculate_number_scores(
list1,
list2,
method,
epsilon = NULL,
max_diff = NULL,
epsilon_pct = NULL
)
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" |
Vector of numeric similarity scores between 0 and 1
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.