Learn R Programming

lfl (version 1.4.2)

farules: A class of rules with statistical characteristics.

Description

The aim of the farules S3 class is to store a list of rules (a rule-base) together with some statistical characteristics. To search for fuzzy association rules, refer to searchrules function.

Usage

farules(rules, statistics)

Arguments

rules

A list of character vectors, where each vector represents a rule and each value of the vector represents a predicate. The first value of the vector is assumed to be a rule's consequent, the rest is antecedent.

statistics

A numeric matrix of various statistical characteristics of the rules. Each column of that matrix corresponds to some statistic (such as support, confidence, etc.). Rows correspond to the rules in the list of rules.

Value

Returns an object of class farules.

Details

The farules function is a constructor for an instance of the farules class.

See Also

searchrules, reduce