Function to return complimentary product recommendations
1 2 | getComplimentaryProducts(sim.matrix, skus, values, exclude.same = TRUE,
groups = NULL, affinity, sku.details, n.of.types)
|
sim.matrix |
- similarity matrix. |
skus |
- skus derived from the visitor history. |
values |
- required number of recommendations. |
exclude.same |
- excludes recommendations for values in skus. |
groups |
- named vector of sku categories. |
affinity |
- affinity matrix |
sku.details |
- named vector of skus and types |
n.of.types |
- number of types the results should be selected from |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.