Install Packages

library('arules')
## Loading required package: Matrix
## 
## Attaching package: 'arules'
## The following objects are masked from 'package:base':
## 
##     abbreviate, write
library('arulesViz') 
## Loading required package: grid
## Registered S3 method overwritten by 'seriation':
##   method         from 
##   reorder.hclust gclus

R Markdown

This is an R Markdown document. Markdown is a simple formatting syntax for authoring HTML, PDF, and MS Word documents. For more details on using R Markdown see http://rmarkdown.rstudio.com.

When you click the Knit button a document will be generated that includes both content as well as the output of any embedded R code chunks within the document. You can embed an R code chunk like this:

data(Groceries)

Summary

## transactions as itemMatrix in sparse format with
##  9835 rows (elements/itemsets/transactions) and
##  169 columns (items) and a density of 0.02609146 
## 
## most frequent items:
##       whole milk other vegetables       rolls/buns             soda 
##             2513             1903             1809             1715 
##           yogurt          (Other) 
##             1372            34055 
## 
## element (itemset/transaction) length distribution:
## sizes
##    1    2    3    4    5    6    7    8    9   10   11   12   13   14   15 
## 2159 1643 1299 1005  855  645  545  438  350  246  182  117   78   77   55 
##   16   17   18   19   20   21   22   23   24   26   27   28   29   32 
##   46   29   14   14    9   11    4    6    1    1    1    1    3    1 
## 
##    Min. 1st Qu.  Median    Mean 3rd Qu.    Max. 
##   1.000   2.000   3.000   4.409   6.000  32.000 
## 
## includes extended item information - examples:
##        labels  level2           level1
## 1 frankfurter sausage meat and sausage
## 2     sausage sausage meat and sausage
## 3  liver loaf sausage meat and sausage
## [1] "transactions"
## attr(,"package")
## [1] "arules"

Class

## [1] "transactions"
## attr(,"package")
## [1] "arules"

Join of frequent 1-item set

## Apriori
## 
## Parameter specification:
##  confidence minval smax arem  aval originalSupport maxtime support minlen
##          NA    0.1    1 none FALSE            TRUE       5    0.02      1
##  maxlen            target   ext
##       1 frequent itemsets FALSE
## 
## Algorithmic control:
##  filter tree heap memopt load sort verbose
##     0.1 TRUE TRUE  FALSE TRUE    2    TRUE
## 
## Absolute minimum support count: 196 
## 
## set item appearances ...[0 item(s)] done [0.00s].
## set transactions ...[169 item(s), 9835 transaction(s)] done [0.00s].
## sorting and recoding items ... [59 item(s)] done [0.00s].
## creating transaction tree ... done [0.02s].
## checking subsets of size 1
## Warning in apriori(Groceries, parameter = list(minlen = 1, maxlen = 1,
## support = 0.02, : Mining stopped (maxlen reached). Only patterns up to a
## length of 1 returned!
##  done [0.00s].
## writing ... [59 set(s)] done [0.00s].
## creating S4 object  ... done [0.00s].

Summary of item set

## set of 59 itemsets
## 
## most frequent items:
## frankfurter     sausage         ham        meat     chicken     (Other) 
##           1           1           1           1           1          54 
## 
## element (itemset/transaction) length distribution:sizes
##  1 
## 59 
## 
##    Min. 1st Qu.  Median    Mean 3rd Qu.    Max. 
##       1       1       1       1       1       1 
## 
## summary of quality measures:
##     support            count       
##  Min.   :0.02105   Min.   : 207.0  
##  1st Qu.:0.03015   1st Qu.: 296.5  
##  Median :0.04809   Median : 473.0  
##  Mean   :0.06200   Mean   : 609.8  
##  3rd Qu.:0.07666   3rd Qu.: 754.0  
##  Max.   :0.25552   Max.   :2513.0  
## 
## includes transaction ID lists: FALSE 
## 
## mining info:
##       data ntransactions support confidence
##  Groceries          9835    0.02          1

Top ten most frequent 2 item set

##      items              support    count
## [1]  {whole milk}       0.25551601 2513 
## [2]  {other vegetables} 0.19349263 1903 
## [3]  {rolls/buns}       0.18393493 1809 
## [4]  {soda}             0.17437722 1715 
## [5]  {yogurt}           0.13950178 1372 
## [6]  {bottled water}    0.11052364 1087 
## [7]  {root vegetables}  0.10899847 1072 
## [8]  {tropical fruit}   0.10493137 1032 
## [9]  {shopping bags}    0.09852567  969 
## [10] {sausage}          0.09395018  924

Frequent 2 item set

## Apriori
## 
## Parameter specification:
##  confidence minval smax arem  aval originalSupport maxtime support minlen
##          NA    0.1    1 none FALSE            TRUE       5    0.02      3
##  maxlen            target   ext
##       3 frequent itemsets FALSE
## 
## Algorithmic control:
##  filter tree heap memopt load sort verbose
##     0.1 TRUE TRUE  FALSE TRUE    2    TRUE
## 
## Absolute minimum support count: 196 
## 
## set item appearances ...[0 item(s)] done [0.00s].
## set transactions ...[169 item(s), 9835 transaction(s)] done [0.00s].
## sorting and recoding items ... [59 item(s)] done [0.00s].
## creating transaction tree ... done [0.02s].
## checking subsets of size 1 2 3
## Warning in apriori(Groceries, parameter = list(minlen = 3, maxlen = 3,
## support = 0.02, : Mining stopped (maxlen reached). Only patterns up to a
## length of 3 returned!
##  done [0.00s].
## writing ... [2 set(s)] done [0.00s].
## creating S4 object  ... done [0.00s].

3 item set

##     items                                         support    count
## [1] {root vegetables,other vegetables,whole milk} 0.02318251 228  
## [2] {other vegetables,whole milk,yogurt}          0.02226741 219

4 item set

## Apriori
## 
## Parameter specification:
##  confidence minval smax arem  aval originalSupport maxtime support minlen
##          NA    0.1    1 none FALSE            TRUE       5    0.02      4
##  maxlen            target   ext
##       4 frequent itemsets FALSE
## 
## Algorithmic control:
##  filter tree heap memopt load sort verbose
##     0.1 TRUE TRUE  FALSE TRUE    2    TRUE
## 
## Absolute minimum support count: 196 
## 
## set item appearances ...[0 item(s)] done [0.00s].
## set transactions ...[169 item(s), 9835 transaction(s)] done [0.01s].
## sorting and recoding items ... [59 item(s)] done [0.00s].
## creating transaction tree ... done [0.00s].
## checking subsets of size 1 2 3 done [0.00s].
## writing ... [0 set(s)] done [0.00s].
## creating S4 object  ... done [0.00s].

No Max length

## Apriori
## 
## Parameter specification:
##  confidence minval smax arem  aval originalSupport maxtime support minlen
##          NA    0.1    1 none FALSE            TRUE       5    0.02      1
##  maxlen            target   ext
##      10 frequent itemsets FALSE
## 
## Algorithmic control:
##  filter tree heap memopt load sort verbose
##     0.1 TRUE TRUE  FALSE TRUE    2    TRUE
## 
## Absolute minimum support count: 196 
## 
## set item appearances ...[0 item(s)] done [0.00s].
## set transactions ...[169 item(s), 9835 transaction(s)] done [0.00s].
## sorting and recoding items ... [59 item(s)] done [0.00s].
## creating transaction tree ... done [0.01s].
## checking subsets of size 1 2 3 done [0.00s].
## writing ... [122 set(s)] done [0.00s].
## creating S4 object  ... done [0.00s].

Rule Generation and Visualization

Rules

## Apriori
## 
## Parameter specification:
##  confidence minval smax arem  aval originalSupport maxtime support minlen
##         0.6    0.1    1 none FALSE            TRUE       5   0.001      1
##  maxlen target   ext
##      10  rules FALSE
## 
## Algorithmic control:
##  filter tree heap memopt load sort verbose
##     0.1 TRUE TRUE  FALSE TRUE    2    TRUE
## 
## Absolute minimum support count: 9 
## 
## set item appearances ...[0 item(s)] done [0.00s].
## set transactions ...[169 item(s), 9835 transaction(s)] done [0.01s].
## sorting and recoding items ... [157 item(s)] done [0.00s].
## creating transaction tree ... done [0.00s].
## checking subsets of size 1 2 3 4 5 6 done [0.02s].
## writing ... [2918 rule(s)] done [0.00s].
## creating S4 object  ... done [0.00s].
## set of 2918 rules
## 
## rule length distribution (lhs + rhs):sizes
##    2    3    4    5    6 
##    3  490 1765  626   34 
## 
##    Min. 1st Qu.  Median    Mean 3rd Qu.    Max. 
##   2.000   4.000   4.000   4.068   4.000   6.000 
## 
## summary of quality measures:
##     support           confidence          lift            count      
##  Min.   :0.001017   Min.   :0.6000   Min.   : 2.348   Min.   :10.00  
##  1st Qu.:0.001118   1st Qu.:0.6316   1st Qu.: 2.668   1st Qu.:11.00  
##  Median :0.001220   Median :0.6818   Median : 3.168   Median :12.00  
##  Mean   :0.001480   Mean   :0.7028   Mean   : 3.450   Mean   :14.55  
##  3rd Qu.:0.001525   3rd Qu.:0.7500   3rd Qu.: 3.692   3rd Qu.:15.00  
##  Max.   :0.009354   Max.   :1.0000   Max.   :18.996   Max.   :92.00  
## 
## mining info:
##       data ntransactions support confidence
##  Groceries          9835   0.001        0.6

Summary of Rules

## set of 2918 rules
## 
## rule length distribution (lhs + rhs):sizes
##    2    3    4    5    6 
##    3  490 1765  626   34 
## 
##    Min. 1st Qu.  Median    Mean 3rd Qu.    Max. 
##   2.000   4.000   4.000   4.068   4.000   6.000 
## 
## summary of quality measures:
##     support           confidence          lift            count      
##  Min.   :0.001017   Min.   :0.6000   Min.   : 2.348   Min.   :10.00  
##  1st Qu.:0.001118   1st Qu.:0.6316   1st Qu.: 2.668   1st Qu.:11.00  
##  Median :0.001220   Median :0.6818   Median : 3.168   Median :12.00  
##  Mean   :0.001480   Mean   :0.7028   Mean   : 3.450   Mean   :14.55  
##  3rd Qu.:0.001525   3rd Qu.:0.7500   3rd Qu.: 3.692   3rd Qu.:15.00  
##  Max.   :0.009354   Max.   :1.0000   Max.   :18.996   Max.   :92.00  
## 
## mining info:
##       data ntransactions support confidence
##  Groceries          9835   0.001        0.6

Plot Rules

## To reduce overplotting, jitter is added! Use jitter = 0 to prevent jitter.

Displays the number of times each slope appears in the dataset

##  3.91  5.17  5.44  5.73  7.17  9.05  9.17  9.53 10.64 12.08 12.42 13.22 
##  1585   940    12     7   188     1   102    55     1     4     1     5 
## 13.83 13.95 18.05 23.76 26.44 30.08 
##     2     9     3     1     1     1
##      lhs                        rhs                      support confidence      lift count
## [1]  {Instant food products,                                                               
##       soda}                  => {hamburger meat}     0.001220132  0.6315789 18.995654    12
## [2]  {soda,                                                                                
##       popcorn}               => {salty snack}        0.001220132  0.6315789 16.697793    12
## [3]  {ham,                                                                                 
##       processed cheese}      => {white bread}        0.001931876  0.6333333 15.045491    19
## [4]  {tropical fruit,                                                                      
##       other vegetables,                                                                    
##       yogurt,                                                                              
##       white bread}           => {butter}             0.001016777  0.6666667 12.030581    10
## [5]  {hamburger meat,                                                                      
##       yogurt,                                                                              
##       whipped/sour cream}    => {butter}             0.001016777  0.6250000 11.278670    10
## [6]  {tropical fruit,                                                                      
##       other vegetables,                                                                    
##       whole milk,                                                                          
##       yogurt,                                                                              
##       domestic eggs}         => {butter}             0.001016777  0.6250000 11.278670    10
## [7]  {liquor,                                                                              
##       red/blush wine}        => {bottled beer}       0.001931876  0.9047619 11.235269    19
## [8]  {other vegetables,                                                                    
##       butter,                                                                              
##       sugar}                 => {whipped/sour cream} 0.001016777  0.7142857  9.964539    10
## [9]  {whole milk,                                                                          
##       butter,                                                                              
##       hard cheese}           => {whipped/sour cream} 0.001423488  0.6666667  9.300236    14
## [10] {tropical fruit,                                                                      
##       other vegetables,                                                                    
##       butter,                                                                              
##       fruit/vegetable juice} => {whipped/sour cream} 0.001016777  0.6666667  9.300236    10

Inspect

##      lhs                        rhs                      support confidence      lift count
## [1]  {Instant food products,                                                               
##       soda}                  => {hamburger meat}     0.001220132  0.6315789 18.995654    12
## [2]  {soda,                                                                                
##       popcorn}               => {salty snack}        0.001220132  0.6315789 16.697793    12
## [3]  {ham,                                                                                 
##       processed cheese}      => {white bread}        0.001931876  0.6333333 15.045491    19
## [4]  {tropical fruit,                                                                      
##       other vegetables,                                                                    
##       yogurt,                                                                              
##       white bread}           => {butter}             0.001016777  0.6666667 12.030581    10
## [5]  {hamburger meat,                                                                      
##       yogurt,                                                                              
##       whipped/sour cream}    => {butter}             0.001016777  0.6250000 11.278670    10
## [6]  {tropical fruit,                                                                      
##       other vegetables,                                                                    
##       whole milk,                                                                          
##       yogurt,                                                                              
##       domestic eggs}         => {butter}             0.001016777  0.6250000 11.278670    10
## [7]  {liquor,                                                                              
##       red/blush wine}        => {bottled beer}       0.001931876  0.9047619 11.235269    19
## [8]  {other vegetables,                                                                    
##       butter,                                                                              
##       sugar}                 => {whipped/sour cream} 0.001016777  0.7142857  9.964539    10
## [9]  {whole milk,                                                                          
##       butter,                                                                              
##       hard cheese}           => {whipped/sour cream} 0.001423488  0.6666667  9.300236    14
## [10] {tropical fruit,                                                                      
##       other vegetables,                                                                    
##       butter,                                                                              
##       fruit/vegetable juice} => {whipped/sour cream} 0.001016777  0.6666667  9.300236    10

Confident rules

## set of 127 rules

Plot of Confident rules

## Warning: Unknown control parameters: order
## Available control parameters (with default values):
## main  =  Matrix with 127 rules
## engine    =  default
## col   =  c("#EE0000FF", "#EE0303FF", "#EE0606FF", "#EE0909FF", "#EE0C0CFF", "#EE0F0FFF", "#EE1212FF", "#EE1515FF", "#EE1818FF", "#EE1B1BFF", "#EE1E1EFF", "#EE2222FF", "#EE2525FF", "#EE2828FF", "#EE2B2BFF", "#EE2E2EFF", "#EE3131FF", "#EE3434FF", "#EE3737FF", "#EE3A3AFF", "#EE3D3DFF", "#EE4040FF", "#EE4444FF", "#EE4747FF", "#EE4A4AFF", "#EE4D4DFF", "#EE5050FF", "#EE5353FF", "#EE5656FF", "#EE5959FF", "#EE5C5CFF", "#EE5F5FFF", "#EE6262FF", "#EE6666FF", "#EE6969FF", "#EE6C6CFF", "#EE6F6FFF", "#EE7272FF", "#EE7575FF",  "#EE7878FF", "#EE7B7BFF", "#EE7E7EFF", "#EE8181FF", "#EE8484FF", "#EE8888FF", "#EE8B8BFF", "#EE8E8EFF", "#EE9191FF", "#EE9494FF", "#EE9797FF", "#EE9999FF", "#EE9B9BFF", "#EE9D9DFF", "#EE9F9FFF", "#EEA0A0FF", "#EEA2A2FF", "#EEA4A4FF", "#EEA5A5FF", "#EEA7A7FF", "#EEA9A9FF", "#EEABABFF", "#EEACACFF", "#EEAEAEFF", "#EEB0B0FF", "#EEB1B1FF", "#EEB3B3FF", "#EEB5B5FF", "#EEB7B7FF", "#EEB8B8FF", "#EEBABAFF", "#EEBCBCFF", "#EEBDBDFF", "#EEBFBFFF", "#EEC1C1FF", "#EEC3C3FF", "#EEC4C4FF", "#EEC6C6FF", "#EEC8C8FF",  "#EEC9C9FF", "#EECBCBFF", "#EECDCDFF", "#EECFCFFF", "#EED0D0FF", "#EED2D2FF", "#EED4D4FF", "#EED5D5FF", "#EED7D7FF", "#EED9D9FF", "#EEDBDBFF", "#EEDCDCFF", "#EEDEDEFF", "#EEE0E0FF", "#EEE1E1FF", "#EEE3E3FF", "#EEE5E5FF", "#EEE7E7FF", "#EEE8E8FF", "#EEEAEAFF", "#EEECECFF", "#EEEEEEFF")
## zlim  =  NULL
## axes  =  TRUE
## reorder   =  measure
## newpage   =  TRUE
## plot_options  =  list()
## verbose   =  FALSE
## Itemsets in Antecedent (LHS)
##   [1] "{liquor,red/blush wine}"                                             
##   [2] "{citrus fruit,other vegetables,soda,fruit/vegetable juice}"          
##   [3] "{tropical fruit,other vegetables,whole milk,yogurt,oil}"             
##   [4] "{tropical fruit,whole milk,butter,sliced cheese}"                    
##   [5] "{other vegetables,curd,whipped/sour cream,cream cheese }"            
##   [6] "{tropical fruit,other vegetables,butter,white bread}"                
##   [7] "{citrus fruit,root vegetables,soft cheese}"                          
##   [8] "{pip fruit,whipped/sour cream,brown bread}"                          
##   [9] "{tropical fruit,grapes,whole milk,yogurt}"                           
##  [10] "{ham,tropical fruit,pip fruit,yogurt}"                               
##  [11] "{ham,tropical fruit,pip fruit,whole milk}"                           
##  [12] "{tropical fruit,butter,whipped/sour cream,fruit/vegetable juice}"    
##  [13] "{whole milk,rolls/buns,soda,newspapers}"                             
##  [14] "{citrus fruit,tropical fruit,root vegetables,whipped/sour cream}"    
##  [15] "{root vegetables,butter,cream cheese }"                              
##  [16] "{root vegetables,whole milk,yogurt,oil}"                             
##  [17] "{citrus fruit,tropical fruit,root vegetables,whole milk,yogurt}"     
##  [18] "{butter,whipped/sour cream,soda}"                                    
##  [19] "{pip fruit,butter,pastry}"                                           
##  [20] "{root vegetables,whole milk,yogurt,rice}"                            
##  [21] "{tropical fruit,whipped/sour cream,soft cheese}"                     
##  [22] "{citrus fruit,root vegetables,cream cheese }"                        
##  [23] "{citrus fruit,whole milk,whipped/sour cream,domestic eggs}"          
##  [24] "{grapes,onions}"                                                     
##  [25] "{hard cheese,oil}"                                                   
##  [26] "{tropical fruit,dessert,whipped/sour cream}"                         
##  [27] "{citrus fruit,whole milk,whipped/sour cream,cream cheese }"          
##  [28] "{tropical fruit,yogurt,whipped/sour cream,fruit/vegetable juice}"    
##  [29] "{herbs,whole milk,fruit/vegetable juice}"                            
##  [30] "{tropical fruit,whipped/sour cream,hard cheese}"                     
##  [31] "{pork,whole milk,butter milk}"                                       
##  [32] "{pip fruit,butter milk,fruit/vegetable juice}"                       
##  [33] "{yogurt,oil,coffee}"                                                 
##  [34] "{root vegetables,onions,napkins}"                                    
##  [35] "{hamburger meat,tropical fruit,whipped/sour cream}"                  
##  [36] "{tropical fruit,butter,yogurt,white bread}"                          
##  [37] "{root vegetables,whole milk,butter,white bread}"                     
##  [38] "{whole milk,butter,whipped/sour cream,soda}"                         
##  [39] "{tropical fruit,whole milk,whipped/sour cream,fruit/vegetable juice}"
##  [40] "{tropical fruit,root vegetables,whole milk,yogurt,oil}"              
##  [41] "{citrus fruit,root vegetables,whole milk,yogurt,whipped/sour cream}" 
##  [42] "{tropical fruit,whipped/sour cream,fruit/vegetable juice}"           
##  [43] "{tropical fruit,root vegetables,yogurt,oil}"                         
##  [44] "{frankfurter,tropical fruit,frozen meals}"                           
##  [45] "{rice,sugar}"                                                        
##  [46] "{canned fish,hygiene articles}"                                      
##  [47] "{root vegetables,butter,rice}"                                       
##  [48] "{root vegetables,whipped/sour cream,flour}"                          
##  [49] "{butter,soft cheese,domestic eggs}"                                  
##  [50] "{pip fruit,butter,hygiene articles}"                                 
##  [51] "{root vegetables,whipped/sour cream,hygiene articles}"               
##  [52] "{pip fruit,root vegetables,hygiene articles}"                        
##  [53] "{cream cheese ,domestic eggs,sugar}"                                 
##  [54] "{curd,domestic eggs,sugar}"                                          
##  [55] "{cream cheese ,domestic eggs,napkins}"                               
##  [56] "{root vegetables,other vegetables,yogurt,oil}"                       
##  [57] "{root vegetables,other vegetables,butter,white bread}"               
##  [58] "{pork,other vegetables,butter,whipped/sour cream}"                   
##  [59] "{other vegetables,butter,whipped/sour cream,domestic eggs}"          
##  [60] "{citrus fruit,whipped/sour cream,rolls/buns,pastry}"                 
##  [61] "{pip fruit,root vegetables,other vegetables,bottled water}"          
##  [62] "{sausage,tropical fruit,root vegetables,rolls/buns}"                 
##  [63] "{tropical fruit,root vegetables,other vegetables,yogurt,oil}"        
##  [64] "{other vegetables,cream cheese ,sugar}"                              
##  [65] "{sausage,tropical fruit,root vegetables,yogurt}"                     
##  [66] "{citrus fruit,domestic eggs,sugar}"                                  
##  [67] "{yogurt,domestic eggs,sugar}"                                        
##  [68] "{pip fruit,whipped/sour cream,cream cheese }"                        
##  [69] "{root vegetables,other vegetables,yogurt,rice}"                      
##  [70] "{beef,tropical fruit,yogurt,rolls/buns}"                             
##  [71] "{whipped/sour cream,house keeping products}"                         
##  [72] "{rice,bottled water}"                                                
##  [73] "{root vegetables,whipped/sour cream,soft cheese}"                    
##  [74] "{butter,whipped/sour cream,sliced cheese}"                           
##  [75] "{tropical fruit,butter,hygiene articles}"                            
##  [76] "{tropical fruit,domestic eggs,hygiene articles}"                     
##  [77] "{root vegetables,whipped/sour cream,sugar}"                          
##  [78] "{tropical fruit,long life bakery product,napkins}"                   
##  [79] "{butter,whipped/sour cream,coffee}"                                  
##  [80] "{root vegetables,other vegetables,yogurt,hard cheese}"               
##  [81] "{frankfurter,tropical fruit,root vegetables,yogurt}"                 
##  [82] "{pip fruit,root vegetables,other vegetables,brown bread}"            
##  [83] "{tropical fruit,butter,yogurt,domestic eggs}"                        
##  [84] "{pip fruit,other vegetables,whipped/sour cream,domestic eggs}"       
##  [85] "{soups,bottled beer}"                                                
##  [86] "{citrus fruit,tropical fruit,herbs}"                                 
##  [87] "{tropical fruit,domestic eggs,sugar}"                                
##  [88] "{root vegetables,butter,white bread}"                                
##  [89] "{butter,curd,domestic eggs}"                                         
##  [90] "{citrus fruit,butter,curd}"                                          
##  [91] "{domestic eggs,margarine,fruit/vegetable juice}"                     
##  [92] "{pip fruit,other vegetables,yogurt,cream cheese }"                   
##  [93] "{tropical fruit,curd,yogurt,domestic eggs}"                          
##  [94] "{root vegetables,butter,yogurt,domestic eggs}"                       
##  [95] "{tropical fruit,yogurt,whipped/sour cream,domestic eggs}"            
##  [96] "{tropical fruit,other vegetables,whipped/sour cream,domestic eggs}"  
##  [97] "{pip fruit,root vegetables,yogurt,fruit/vegetable juice}"            
##  [98] "{tropical fruit,root vegetables,rolls/buns,bottled water}"           
##  [99] "{curd,cereals}"                                                      
## [100] "{pastry,sweet spreads}"                                              
## [101] "{tropical fruit,butter,frozen meals}"                                
## [102] "{frankfurter,root vegetables,sliced cheese}"                         
## [103] "{sausage,berries,butter}"                                            
## [104] "{butter,hygiene articles,napkins}"                                   
## [105] "{pork,rolls/buns,waffles}"                                           
## [106] "{whipped/sour cream,long life bakery product,napkins}"               
## [107] "{sausage,butter,long life bakery product}"                           
## [108] "{sausage,pip fruit,cream cheese }"                                   
## [109] "{root vegetables,domestic eggs,coffee}"                              
## [110] "{domestic eggs,margarine,bottled beer}"                              
## [111] "{tropical fruit,root vegetables,herbs,other vegetables}"             
## [112] "{tropical fruit,pip fruit,yogurt,frozen meals}"                      
## [113] "{tropical fruit,butter,yogurt,sliced cheese}"                        
## [114] "{root vegetables,other vegetables,yogurt,waffles}"                   
## [115] "{pip fruit,root vegetables,other vegetables,cream cheese }"          
## [116] "{citrus fruit,other vegetables,yogurt,frozen vegetables}"            
## [117] "{citrus fruit,tropical fruit,curd,yogurt}"                           
## [118] "{other vegetables,butter,whipped/sour cream,napkins}"                
## [119] "{pork,root vegetables,other vegetables,butter}"                      
## [120] "{root vegetables,other vegetables,rolls/buns,brown bread}"           
## [121] "{citrus fruit,other vegetables,butter,bottled water}"                
## [122] "{citrus fruit,tropical fruit,other vegetables,domestic eggs}"        
## [123] "{tropical fruit,root vegetables,yogurt,pastry}"                      
## [124] "{tropical fruit,other vegetables,butter,yogurt,domestic eggs}"       
## Itemsets in Consequent (RHS)
## [1] "{whole milk}"       "{other vegetables}" "{yogurt}"          
## [4] "{root vegetables}"  "{bottled beer}"

Plot of high lift rules

## Warning: Unknown control parameters: type
## Available control parameters (with default values):
## main  =  Graph for 5 rules
## nodeColors    =  c("#66CC6680", "#9999CC80")
## nodeCol   =  c("#EE0000FF", "#EE0303FF", "#EE0606FF", "#EE0909FF", "#EE0C0CFF", "#EE0F0FFF", "#EE1212FF", "#EE1515FF", "#EE1818FF", "#EE1B1BFF", "#EE1E1EFF", "#EE2222FF", "#EE2525FF", "#EE2828FF", "#EE2B2BFF", "#EE2E2EFF", "#EE3131FF", "#EE3434FF", "#EE3737FF", "#EE3A3AFF", "#EE3D3DFF", "#EE4040FF", "#EE4444FF", "#EE4747FF", "#EE4A4AFF", "#EE4D4DFF", "#EE5050FF", "#EE5353FF", "#EE5656FF", "#EE5959FF", "#EE5C5CFF", "#EE5F5FFF", "#EE6262FF", "#EE6666FF", "#EE6969FF", "#EE6C6CFF", "#EE6F6FFF", "#EE7272FF", "#EE7575FF",  "#EE7878FF", "#EE7B7BFF", "#EE7E7EFF", "#EE8181FF", "#EE8484FF", "#EE8888FF", "#EE8B8BFF", "#EE8E8EFF", "#EE9191FF", "#EE9494FF", "#EE9797FF", "#EE9999FF", "#EE9B9BFF", "#EE9D9DFF", "#EE9F9FFF", "#EEA0A0FF", "#EEA2A2FF", "#EEA4A4FF", "#EEA5A5FF", "#EEA7A7FF", "#EEA9A9FF", "#EEABABFF", "#EEACACFF", "#EEAEAEFF", "#EEB0B0FF", "#EEB1B1FF", "#EEB3B3FF", "#EEB5B5FF", "#EEB7B7FF", "#EEB8B8FF", "#EEBABAFF", "#EEBCBCFF", "#EEBDBDFF", "#EEBFBFFF", "#EEC1C1FF", "#EEC3C3FF", "#EEC4C4FF", "#EEC6C6FF", "#EEC8C8FF",  "#EEC9C9FF", "#EECBCBFF", "#EECDCDFF", "#EECFCFFF", "#EED0D0FF", "#EED2D2FF", "#EED4D4FF", "#EED5D5FF", "#EED7D7FF", "#EED9D9FF", "#EEDBDBFF", "#EEDCDCFF", "#EEDEDEFF", "#EEE0E0FF", "#EEE1E1FF", "#EEE3E3FF", "#EEE5E5FF", "#EEE7E7FF", "#EEE8E8FF", "#EEEAEAFF", "#EEECECFF", "#EEEEEEFF")
## edgeCol   =  c("#474747FF", "#494949FF", "#4B4B4BFF", "#4D4D4DFF", "#4F4F4FFF", "#515151FF", "#535353FF", "#555555FF", "#575757FF", "#595959FF", "#5B5B5BFF", "#5E5E5EFF", "#606060FF", "#626262FF", "#646464FF", "#666666FF", "#686868FF", "#6A6A6AFF", "#6C6C6CFF", "#6E6E6EFF", "#707070FF", "#727272FF", "#747474FF", "#767676FF", "#787878FF", "#7A7A7AFF", "#7C7C7CFF", "#7E7E7EFF", "#808080FF", "#828282FF", "#848484FF", "#868686FF", "#888888FF", "#8A8A8AFF", "#8C8C8CFF", "#8D8D8DFF", "#8F8F8FFF", "#919191FF", "#939393FF",  "#959595FF", "#979797FF", "#999999FF", "#9A9A9AFF", "#9C9C9CFF", "#9E9E9EFF", "#A0A0A0FF", "#A2A2A2FF", "#A3A3A3FF", "#A5A5A5FF", "#A7A7A7FF", "#A9A9A9FF", "#AAAAAAFF", "#ACACACFF", "#AEAEAEFF", "#AFAFAFFF", "#B1B1B1FF", "#B3B3B3FF", "#B4B4B4FF", "#B6B6B6FF", "#B7B7B7FF", "#B9B9B9FF", "#BBBBBBFF", "#BCBCBCFF", "#BEBEBEFF", "#BFBFBFFF", "#C1C1C1FF", "#C2C2C2FF", "#C3C3C4FF", "#C5C5C5FF", "#C6C6C6FF", "#C8C8C8FF", "#C9C9C9FF", "#CACACAFF", "#CCCCCCFF", "#CDCDCDFF", "#CECECEFF", "#CFCFCFFF", "#D1D1D1FF",  "#D2D2D2FF", "#D3D3D3FF", "#D4D4D4FF", "#D5D5D5FF", "#D6D6D6FF", "#D7D7D7FF", "#D8D8D8FF", "#D9D9D9FF", "#DADADAFF", "#DBDBDBFF", "#DCDCDCFF", "#DDDDDDFF", "#DEDEDEFF", "#DEDEDEFF", "#DFDFDFFF", "#E0E0E0FF", "#E0E0E0FF", "#E1E1E1FF", "#E1E1E1FF", "#E2E2E2FF", "#E2E2E2FF", "#E2E2E2FF")
## alpha     =  0.5
## cex   =  1
## itemLabels    =  TRUE
## labelCol  =  #000000B3
## measureLabels     =  FALSE
## precision     =  3
## layout    =  NULL
## layoutParams  =  list()
## arrowSize     =  0.5
## engine    =  igraph
## plot  =  TRUE
## plot_options  =  list()
## max   =  100
## verbose   =  FALSE