Provides the generic functions and the S4 methods for the set operations
is.element on sets of associations (e.g., rules, itemsets) and
1 2 3 4 5
sets of associations or itemMatrix objects.
All S4 methods for set operations are defined for the
"ANY" in the signature,
so they should work for all S4 classes for which the following
methods are available:
setdiff return an
object of the same class as
is.element returns a logic vector of length
for each element if it is included in
1 2 3 4 5 6 7 8 9 10 11 12
Loading required package: Matrix Attaching package: 'arules' The following objects are masked from 'package:base': abbreviate, write Apriori Parameter specification: confidence minval smax arem aval originalSupport maxtime support minlen 0.8 0.1 1 none FALSE TRUE 5 0.1 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: 4884 set item appearances ...[0 item(s)] done [0.00s]. set transactions ...[115 item(s), 48842 transaction(s)] done [0.03s]. sorting and recoding items ... [31 item(s)] done [0.01s]. creating transaction tree ... done [0.03s]. checking subsets of size 1 2 3 4 5 6 7 8 9 done [0.11s]. writing ... [6137 rule(s)] done [0.00s]. creating S4 object ... done [0.01s]. set of 15 rules set of 5 rules  FALSE
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.