Description Usage Arguments Value
Turns interactions data table into a matrix
1  | userProductHitsToMatrix(product.hits)
 | 
product.hits | 
 data.table with columns: visitor.id, product attribute  | 
Returns sparse matrix for interactions between products within user sessions, meaning number of visitors that viewed/bought products together.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.