supp_conf: Calculate support and confidence for an association rule.

View source: R/evaluate.R

supp_confR Documentation

Calculate support and confidence for an association rule.

Description

This function calculates the support and confidence for the given antecedent and consequent in the dataset instances.

Usage

supp_conf(antecedent, consequent, instances, features)

Arguments

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.

Value

A list containing support and confidence values.


niarules documentation built on Sept. 15, 2025, 5:08 p.m.