add_association_rule {niarules} | R Documentation |
This function adds a new association rule to the existing list of rules.
add_association_rule(
rules,
antecedent,
consequence,
support,
confidence,
fitness
)
rules |
The current list of association rules. |
antecedent |
The antecedent part of the association rule. |
consequence |
The consequent part of the association rule. |
support |
The support of the association rule. |
confidence |
The confidence of the association rule. |
fitness |
The fitness of the association rule. |
The updated list of association rules.