print.apriori | R Documentation |
Print the set of rules in the classification model.
## S3 method for class 'apriori'
print(x, ...)
x |
The model to be printed. |
... |
Other parameters. |
APRIORI
, predict.apriori
, summary.apriori
,
apriori-class
, apriori
require ("datasets")
data (iris)
d = discretizeDF (iris,
default = list (method = "interval", breaks = 3, labels = c ("small", "medium", "large")))
model = APRIORI (d [, -5], d [, 5], supp = .1, conf = .9, prune = TRUE)
print (model)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.