add_association_rule {niarules}R Documentation

Add an association rule to the list of rules.

Description

This function adds a new association rule to the existing list of rules.

Usage

add_association_rule(
  rules,
  antecedent,
  consequence,
  support,
  confidence,
  fitness
)

Arguments

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.

Value

The updated list of association rules.


[Package niarules version 0.1.0 Index]