Description Usage Arguments Value
Underlying a rules there is a right-hand side and a left-hand side. Both are stored as matrices. With this function one can calculated the sum of each column, that is the respective number of items within each itemset for either the left-hand side or the right-hand side.
1 2 |
x |
Object of class Rules |
lhs |
if true the sum of each column of the left-hand side are calculated, else the sum of each column of the right-hand side. |
numeric vector containing the sum of each column of either the rhs or the lhs.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.