S4 methods for
length which return the number of elements of
objects defined in the package arules.
1 2 3 4 5 6 7 8 9 10 11
an object of class
length is defined as the number of rows (transactions) in the binary
For sets of associations (
general) the length is defined as the number of elements in the set (i.e.,
the number of rules or itemsets).
tidLists the length is the number of lists (one per
item or itemset) in the object.
An integer scalar giving the “length” of
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.