Description Usage Arguments Details Value Methods (by generic)
Converts output from arules::apriori()
to a tibble/dataframe.
1 2 3 4 5 6 7 | apriori2df(x)
## S3 method for class 'rules'
tidy(x, ...)
## S3 method for class 'itemsets'
tidy(x, ...)
|
x |
An object of class arules::rules or arules::itemsets produced
by running |
... |
Unused, included for generic consistency only. |
Use this instead of arules::inspect()
, which only prints to screen.
a tibble (or data.frame) of the rules/itemsets
tidy
: Tidy a arules::rules object
tidy
: Tidy a arules::itemsets object
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.