getCliques: Get the latent itemsets from the data

Description Usage Arguments Examples

Description

Get the latent itemsets from the data

Usage

1

Arguments

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

Examples

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)

mvanwyk/logical-itemset-miner documentation built on May 15, 2019, 5:50 p.m.