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 row, that is the respective number of occurences of each item in all transactions 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 rwo of the left-hand side are calculated, else the sum of each row of the right-hand side. |
numeric vector containing the sum of each row 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.