select-Rules: Subsetting of a Rules object.

Description Usage Arguments Value

Description

A Rules object does contain the matrix of itemsets as well as the a vectors that contains the support, confidence, lift and leverage for all rules.Therefore, both are logically connected and when a Rules is subsetted column- wise the other vectors are subsetted as well.

Usage

1
2
## S4 method for signature 'Rules'
select(x, i, j)

Arguments

x

Object of class Rules

i

Either the rows represented by their row number or a logical vector of length number of row of Rules. If i is missing or NULL all rows are selected.

j

Either the columns represented by their columns numbers or logical vector of length number of columns in Rules. If j is missing or NULL all columns are selected.

Value

subsetted Rules object.


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