print-Rules: Definition of show method for Rules

Description Usage Arguments Value

Description

The print function prints out all the rules in the object sorted by specified matrices.

Usage

1
2
3
## S4 method for signature 'Rules'
print(x, maxNumConsequent = 1, order_by = NULL,
  decreasing = TRUE)

Arguments

x

Object of class Rules

maxNumConsequent

The maximum length of consequents that the rules of the ouput should have. In Default all rules are shown.

order_by

Specifiy up to four metrics out of support, confidence, lift, leverage by which the given rules should be sorted. The first one used first and son on.

decreasing

Should the rules start with the smallest or highest values of the specified metrics?

Value

The rules from the left hand and right hand side in the form of It1, ... ItN -> ITK in a data.frame. This data.frame does have columns lhs, rhs, unnamed, support and confidence.


TimToebrock/Rpriori documentation built on Oct. 18, 2020, 9:41 p.m.