Description Usage Arguments Examples
Get the latent itemsets from the data
1 | getCliques(data, min = 3, max = NULL)
|
data |
lism data frame generated from the lism function |
min |
Sets the minimum clique size to return |
max |
Sets the maxmium clique size to return |
1 2 3 4 5 | data <- data.frame(item_id = c(1,3,4,6,3,4,3,5,6,1,2,1,4,2),
trans_id = c(1,2,3,4,1,2,3,4,1,2,3,4,1,2))
zz <- lism(data, item_col = "item_id", link_col = "trans_id",
min_consistency = 0.2)
getCliques(zz, min = 3, max = 10)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.