print.apriori {fdm2id}R Documentation

Print a classification model obtained by APRIORI

Description

Print the set of rules in the classification model.

Usage

## S3 method for class 'apriori'
print(x, ...)

Arguments

x

The model to be printed.

...

Other parameters.

See Also

APRIORI, predict.apriori, summary.apriori, apriori-class, apriori

Examples

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)

[Package fdm2id version 0.9.9 Index]