Learn R Programming

fdm2id (version 0.9.9)

general.rules: Remove redundancy in a set of rules

Description

This function remove every redundant rules, keeping only the most general ones.

Usage

general.rules(r)

Value

A set of rules, without redundancy.

Arguments

r

A set of rules.

See Also

apriori

Examples

Run this code
require ("arules")
data ("Adult")
r = apriori (Adult)
inspect (general.rules (r))

Run the code above in your browser using DataLab