Gets top value per group
1 | keepOnePerGroup(dt, groups)
|
dt |
data.table with similarity score |
groups |
named vector of product groups |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.