rules: Get the Association Rules from a CBA classifier

Description Usage Arguments Details Author(s) Examples

Description

Returns the association rules used in the model from a CBA classifier object.

Usage

1
rules(classifier)

Arguments

classifier

An object of class CBA.

...

Additional arguments not used

Details

Returns an arules rule set (object of class rules) of all of the association rules used in the classifier.

Author(s)

Ian Johnson

Examples

1
2
3
4
5
6
7
8
data(iris)
irisDisc <- as.data.frame(lapply(iris[1:4],
  function(x) discretize(x, categories=9)))
irisDisc$Species <- iris$Species

classifier <- CBA(Species ~ ., irisDisc, supp = 0.05, conf=0.9)
rules <- rules(classifier)
inspect(rules)


Search within the arulesCBA package
Search all R packages, documentation and source code

Questions? Problems? Suggestions? or email at ian@mutexlabs.com.

Please suggest features or report bugs with the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.