Display Associations and Transactions in Readable Form

Share:

Description

Provides the generic function inspect and S4 methods to display associations and transactions plus additional information formatted for online inspection.

Usage

1

Arguments

x

a set of associations or transactions or an itemMatrix.

...

additional arguments can be used to customize the output: setStart, setEnd, itemSep and ruleSep. Items are printed only one per line in case the output lines get very long. This can also be directly controlled using linebreak.

Author(s)

Michael Hahsler and Kurt Hornik

See Also

itemMatrix-class, itemsets-class, rules-class, transactions-class

Examples

1
2
3
4
5
6
data("Adult")
rules <- apriori(Adult)
inspect(rules[1000])

inspect(rules[1000], ruleSep = "---->", itemSep = " + ", setStart = "", setEnd ="", 
  linebreak = FALSE)

Want to suggest features or report bugs for rdrr.io? Use the GitHub issue tracker.