length
which return the number of elements of
objects defined in the package ## S3 method for class 'rules':
length(x)## S3 method for class 'itemsets':
length(x)
## S3 method for class 'tidLists':
length(x)
## S3 method for class 'itemMatrix':
length(x)
transactions
,
rules
,
itemsets
,
tidLists
, or
it
x
.itemMatrix
and transactions
the
length is defined as the number of rows (transactions) in the binary
incidence matrix.
For sets of associations (rules
,
itemsets
and associations
in
general) the length is defined as the number of elements in the set (i.e.,
the number of rules or itemsets).
For tidLists
the length is the number of lists (one per
item or itemset) in the object.