Generate the PMML representation for a rules or an itemset object from package arules.
# S3 method for rules
pmml(model, model.name="arules_Model",
app.name="Rattle/PMML",
description="arules association rules model",
copyright=NULL, transforms = NULL, …)
# S3 method for itemsets
pmml(model, model.name="arules_Model",
app.name="Rattle/PMML",
description="arules frequent itemsets model",
copyright=NULL, transforms = NULL, …)
a rules or itemsets object.
a name to be given to the model in the PMML code.
the name of the application that generated the PMML code.
a descriptive text for the Header element of the PMML code.
the copyright notice for the model.
not used in present version.
further arguments passed to or from other methods.
The model is represented in the PMML AssociationModel format.
R project CRAN package: arules: Mining Association Rules and Frequent Itemsets https://CRAN.R-project.org/package=arules