supp_conf {niarules} | R Documentation |
This function calculates the support and confidence for the given antecedent and consequent in the dataset instances.
supp_conf(antecedent, consequent, instances, features)
antecedent |
The antecedent part of the association rule. |
consequent |
The consequent part of the association rule. |
instances |
A data frame representing instances in the dataset. |
features |
A list containing information about features, including type and bounds. |
A list containing support and confidence values.