farules {lfl}R Documentation

Create an instance of S3 class farules which represents a set of fuzzy association rules and their statistical characteristics.

Description

This function is a constructor that returns an instance of the farules S3 class. To search for fuzzy association rules, refer to the 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 a rule's 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.) and each row corresponds to a rule in the list of rules.

Value

Returns an object of class farules.

Author(s)

Michal Burda

See Also

searchrules()


[Package lfl version 2.2.0 Index]