farules: Create an instance of S3 class 'farules' which represents a...

Description Usage Arguments Value Author(s) See Also

View source: R/farules.R

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

1
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()


beerda/lfl documentation built on Oct. 17, 2020, 8:57 p.m.