Learn R Programming

niarules (version 0.2.0)

supp_conf: 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)

Value

A list containing support and confidence values.

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.