supp_conf {niarules}R 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.


[Package niarules version 0.1.0 Index]