inspectDF: obtain rules as data.frame from arules instead of original...

Description Usage Arguments Value Examples

View source: R/inspectDF.R

Description

obtain rules as data.frame from arules instead of original inspect().

Usage

1
inspectDF(rules, sep = ",")

Arguments

rules

a rule object of arules.

sep

string. items in rule string will be separated by sep.

Value

a data frame of rules.

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
## Not run: 
data(Groceries)

pars <- list(confidence=0.01, support=0.01, maxlen=5, minlen=2)
glo.apriori <- apriori(Groceries, parameter = pars)

glo.inspectDF  <- inspectDF(glo.apriori)
glo.inspectDF %>% head

## End(Not run)

katokohaku/inspectDF documentation built on May 23, 2019, 8:51 a.m.