Package: arules 1.7-8
arules: Mining Association Rules and Frequent Itemsets
Provides the infrastructure for representing, manipulating and analyzing transaction data and patterns (frequent itemsets and association rules). Also provides C implementations of the association mining algorithms Apriori and Eclat. Hahsler, Gruen and Hornik (2005) <doi:10.18637/jss.v014.i15>.
Authors:
arules_1.7-8.tar.gz
arules_1.7-8.zip(r-4.5)arules_1.7-8.zip(r-4.4)arules_1.7-8.zip(r-4.3)
arules_1.7-8.tgz(r-4.4-x86_64)arules_1.7-8.tgz(r-4.4-arm64)arules_1.7-8.tgz(r-4.3-x86_64)arules_1.7-8.tgz(r-4.3-arm64)
arules_1.7-8.tar.gz(r-4.5-noble)arules_1.7-8.tar.gz(r-4.4-noble)
arules_1.7-8.tgz(r-4.4-emscripten)arules_1.7-8.tgz(r-4.3-emscripten)
arules.pdf |arules.html✨
arules/json (API)
NEWS
# Install 'arules' in R: |
install.packages('arules', repos = c('https://mhahsler.r-universe.dev', 'https://cloud.r-project.org')) |
Bug tracker:https://github.com/mhahsler/arules/issues
arulesassociation-rulesfrequent-itemsets
Last updated 3 months agofrom:ba02177e26. Checks:OK: 9. Indexed: yes.
Target | Result | Date |
---|---|---|
Doc / Vignettes | OK | Oct 27 2024 |
R-4.5-win-x86_64 | OK | Oct 27 2024 |
R-4.5-linux-x86_64 | OK | Oct 27 2024 |
R-4.4-win-x86_64 | OK | Oct 27 2024 |
R-4.4-mac-x86_64 | OK | Oct 27 2024 |
R-4.4-mac-aarch64 | OK | Oct 27 2024 |
R-4.3-win-x86_64 | OK | Oct 27 2024 |
R-4.3-mac-x86_64 | OK | Oct 27 2024 |
R-4.3-mac-aarch64 | OK | Oct 27 2024 |
Exports:%ain%%in%%oin%%pin%abbreviateaddAggregateaddComplementaffinityaggregateaprioricoercecompatiblecoveragecrossTableDATAFRAMEdecodediscretizediscretizeDFdissimilarityduplicatedeclatencodefilterAggregatefim4rgeneratingItemsetsheadhitsimageinfoinfo<-initializeinspectinterestMeasureintersectis.closedis.elementis.generatoris.maximalis.redundantis.significantis.subsetis.supersetitemFrequencyitemFrequencyPlotitemInfoitemInfo<-itemIntersectitemLabelsitemLabels<-itemsitems<-itemSetdiffitemsetInfoitemsetInfo<-itemsetsitemUnionlabelslhslhs<-LISTmatchmergenitemsplot.associationsplot.itemMatrixpredictqualityquality<-random.patternsrandom.transactionsread.PMMLread.transactionsrecoderhsrhs<-ruleInductionrulessamplesetdiffsetequalshowsizesortsubsetsummarysupportsupportingTransactionsttailtidListstoLongFormattransactionInfotransactionInfo<-transactionsunionuniqueweclatwritewrite.PMML
Readme and manuals
Help Manual
Help page | Topics |
---|---|
Abbreviate item labels in transactions, itemMatrix and associations | abbreviate abbreviate,itemMatrix-method abbreviate,itemsets-method abbreviate,rules-method abbreviate,tidLists-method abbreviate,transactions-method |
Add Complement-items to Transactions | addComplement addComplement,transactions-method |
Adult Data Set | Adult adult AdultUCI |
Computing Affinity Between Items | affinity affinity,itemMatrix-method affinity,matrix-method |
Class APappearance - Specifying the appearance Argument of Apriori to Implement Rule Templates | APappearance APappearance-class coerce,list,APappearance-method coerce,NULL,APappearance-method coercion-APappearance |
Mining Associations with the Apriori Algorithm | APRIORI Apriori apriori |
Classes AScontrol, APcontrol, ECcontrol - Specifying the control Argument of Apriori and Eclat | APcontrol APcontrol-class AScontrol AScontrol-class AScontrol-classes coerce,list,APcontrol-method coerce,list,ECcontrol-method coerce,NULL,APcontrol-method coerce,NULL,ECcontrol-method coerce-AScontrol control ECcontrol ECcontrol-class initialize,AScontrol-method show,AScontrol-method |
Classes ASparameter, APparameter, ECparameter - Specifying the parameter Argument of APRIORI and ECLAT | APparameter APparameter-class ASparameter ASparameter-class ASparameter-classes coerce,list,APparameter-method coerce,list,ECparameter-method coerce,NULL,APparameter-method coerce,NULL,ECparameter-method coercion ECparameter ECparameter-class initialize,APparameter-method initialize,ASparameter-method initialize,ECparameter-method parameter show,ASparameter-method |
Class associations - A Set of Associations | associations associations-class head head,associations-method info info,associations-method info<- info<-,associations-method initialize,associations-method items items,associations-method items<- labels,associations-method length,associations-method plot plot.associations plot.itemMatrix quality quality,associations-method quality<- quality<-,associations-method show,associations-method summary.associations-class t,associations-method tail tail,associations-method |
Combining Association and Transaction Objects | c c,itemMatrix-method c,itemsets-method c,rules-method c,tidLists-method c,transactions-method |
Confidence Intervals for Interest Measures for Association Rules | confint confint.rules |
Calculate coverage for rules | coverage coverage,rules-method |
Cross-tabulate joint occurrences across pairs of items | crossTable crossTable,itemMatrix-method |
Data.frame Representation for arules Objects | DATAFRAME DATAFRAME,itemMatrix-method DATAFRAME,itemsets-method DATAFRAME,rules-method |
Convert a Continuous Variable into a Categorical Variable | binning discretize discretizeDF |
Dissimilarity Matrix Computation for Associations and Transactions | dissimilarity dissimilarity,associations-method dissimilarity,itemMatrix-method dissimilarity,matrix-method dist |
Find Duplicated Elements | duplicated duplicated,itemMatrix-method duplicated,itemsets-method duplicated,rules-method |
Mining Associations with Eclat | ECLAT Eclat eclat |
The Epub Transactions Data Set | Epub |
Methods for "[": Extraction or Subsetting arules Objects | "[-methods" extract [,itemMatrix,ANY,ANY,ANY-method [,itemsets,ANY,ANY,ANY-method [,rules,ANY,ANY,ANY-method [,tidLists,ANY,ANY,ANY-method [,transactions,ANY,ANY,ANY-method |
Interface to Mining Algorithms from fim4r | carpenter fim4r FPgrowth fpgrowth IsTa ista RElim relim SaM sam |
The Groceries Transactions Data Set | Groceries groceries |
Support for Item Hierarchies | addAggregate aggregate aggregate,itemMatrix-method aggregate,itemsets-method aggregate,rules-method filterAggregate hierarchy |
Computing Transaction Weights With HITS | hits |
Visual Inspection of Binary Incidence Matrices | image image,itemMatrix-method image,tidLists-method image,transactions-method |
The Income Data Set | Income income IncomeESL |
Display Associations and Transactions in Readable Form | inspect inspect,itemMatrix-method inspect,itemsets-method inspect,rules-method inspect,tidLists-method inspect,transactions-method |
Calculate Additional Interest Measures | interestMeasure interestMeasure,itemsets-method interestMeasure,rules-method |
Find Closed Itemsets | is.closed is.closed,itemsets-method |
Find Generator Itemsets | is.generator is.generator,itemsets-method |
Find Maximal Itemsets | is.maximal is.maximal,itemMatrix-method is.maximal,itemsets-method is.maximal,rules-method |
Find Redundant Rules | is.redundant is.redundant,rules-method |
Find Significant Rules | is.significant is.significant,rules-method |
Find Super and Subsets | is.subset is.subset,associations-method is.subset,itemMatrix-method is.superset is.superset,associations-method is.superset,itemMatrix-method |
Item Coding - Conversion between Item Labels and Column IDs | compatible compatible,associations-method compatible,itemMatrix-method decode decode,list-method decode,numeric-method encode encode,character-method encode,list-method encode,numeric-method itemCoding itemcoding recode recode,itemMatrix-method recode,itemsets-method recode,rules-method |
Getting Frequency/Support for Single Items | itemFrequency itemFrequency,itemMatrix-method itemFrequency,tidLists-method |
Creating a Item Frequencies/Support Bar Plot | itemFrequencyPlot itemFrequencyPlot,itemMatrix-method |
Class itemMatrix - Sparse Binary Incidence Matrix to Represent Sets of Items | coerce,itemMatrix,list-method coerce,itemMatrix,matrix-method coerce,itemMatrix,ngCMatrix-method coerce,list,itemMatrix-method coerce,matrix,itemMatrix-method coerce,ngCMatrix,itemMatrix-method coercion-itemMatrix dim,itemMatrix-method dimnames,itemMatrix-method dimnames<-,itemMatrix,list-method initialize,itemMatrix-method itemInfo itemInfo,itemMatrix-method itemInfo<- itemInfo<-,itemMatrix-method itemLabels itemLabels,itemMatrix-method itemLabels<- itemLabels<-,itemMatrix-method itemMatrix itemMatrix-class itemsetInfo itemsetInfo,itemMatrix-method itemsetInfo<- itemsetInfo<-,itemMatrix-method labels,itemMatrix-method length,itemMatrix-method nitems nitems,itemMatrix-method show,itemMatrix-method show,summary.itemMatrix-method summary,itemMatrix-method summary.itemMatrix-class toLongFormat toLongFormat,itemMatrix-method |
Class itemsets - A Set of Itemsets | coerce,itemsets,data.frame-method coercion-itemsets itemInfo,itemsets-method itemLabels,itemsets-method itemLabels<-,itemsets-method items,itemsets-method items<-,itemsets-method itemsets itemsets-class labels,itemsets-method length,itemsets-method nitems,itemsets-method show,itemsets-method show,summary.itemsets-method summary,itemsets-method summary.itemsets-class tidLists,itemsets-method |
Itemwise Set Operations | itemIntersect itemIntersect,itemMatrix,itemMatrix-method itemSetdiff itemSetdiff,itemMatrix,itemMatrix-method itemSetOperations itemUnion itemUnion,itemMatrix,itemMatrix-method itemwiseSetOps |
List Representation for Objects Based on Class itemMatrix | LIST LIST,itemMatrix-method LIST,tidLists-method LIST,transactions-method |
Value Matching | %ain% %ain%,itemMatrix,character-method %in% %in%,associations,associations-method %in%,itemMatrix,character-method %in%,itemMatrix,itemMatrix-method %oin% %oin%,itemMatrix,character-method %pin% %pin%,itemMatrix,character-method match match,itemMatrix,itemMatrix-method match,itemsets,itemsets-method match,rules,rules-method |
Adding Items to Data | merge merge,itemMatrix-method merge,transactions-method |
The Mushroom Data Set as Transactions | Mushroom mushroom |
Read and Write PMML | pmml read.PMML write.PMML |
Model Predictions | predict predict,itemMatrix-method |
Classes dist, ar_cross_dissimilarity and ar_similarity - Proximity Matrices | ar_cross_dissimilarity-class ar_similarity-class proximity-classes |
Simulate a Random Transactions | random.patterns random.transactions |
Read Transaction Data | read read.transactions |
Association Rule Induction from Itemsets | ruleInduction ruleInduction,itemsets-method |
Class rules - A Set of Rules | coerce,rules,data.frame-method coercion-rules generatingItemsets generatingItemsets,rules-method initialize,rules-method itemInfo,rules-method itemLabels,rules-method itemLabels<-,rules-method items,rules-method labels,rules-method length,rules-method lhs lhs,rules-method lhs<- lhs<-,rules-method nitems,rules-method rhs rhs,rules-method rhs<- rhs<-,rules-method rules rules-class show,summary.rules-method summary,rules-method summary.rules-class |
Random Samples and Permutations | sample sample,associations-method sample,itemMatrix-method |
Set Operations | intersect,associations-method intersect,itemMatrix-method intersect.associations intersect.itemMatrix is.element,associations-method is.element,itemMatrix-method is.element.associations is.element.itemMatrix setdiff,associations-method setdiff,itemMatrix-method setdiff.associations setdiff.itemMatrix setequal,associations-method setequal,itemMatrix-method setequal.associations setequal.itemMatrix setOperations sets union,associations-method union,itemMatrix-method union.associations union.itemMatrix |
Number of Items in Sets | size size,itemMatrix-method size,itemsets-method size,rules-method size,tidLists-method |
Sort Associations | SORT sort sort,associations-method |
Subsetting Itemsets, Rules and Transactions | subset subset,itemMatrix-method subset,itemsets-method subset,rules-method |
The SunBai Weighted Transactions Data Set | SunBai sunbai |
Support Counting for Itemsets | support support,associations-method support,itemMatrix-method |
Supporting Transactions | supportingTransactions supportingTransactions,associations-method |
Class tidLists - Transaction ID Lists for Items/Itemsets | coerce,itemMatrix,tidLists-method coerce,list,tidLists-method coerce,tidLists,itemMatrix-method coerce,tidLists,list-method coerce,tidLists,matrix-method coerce,tidLists,ngCMatrix-method coerce,tidLists,transactions-method coerce,transactions,tidLists-method coercion-tidLists dim,tidLists-method dimnames,tidLists-method dimnames<-,tidLists,list-method initialize,tidLists-method itemInfo,tidLists-method itemInfo<-,tidLists-method itemLabels,tidLists-method labels,tidLists-method length,tidLists-method show,summary.tidLists-method show,tidLists-method summary,tidLists-method summary.tidLists-class t,tidLists-method tidLists tidLists-class transactionInfo,tidLists-method transactionInfo<-,tidLists-method |
Class transactions - Binary Incidence Matrix for Transactions | coerce,data.frame,transactions-method coerce,list,transactions-method coerce,matrix,transactions-method coerce,ngCMatrix,transactions-method coerce,transactions,data.frame-method coerce,transactions,list-method coerce,transactions,matrix-method coercion-transactions dimnames,transactions-method dimnames<-,transactions,list-method initialize,transactions-method items,transactions-method show,summary.transactions-method show,transactions-method summary,transactions-method summary.transactions-class t,transactions-method t-transactions toLongFormat,transactions-method transactionInfo transactionInfo,transactions-method transactionInfo<- transactionInfo<-,transactions-method transactions transactions-class |
Remove Duplicated Elements from a Collection | unique unique,associations-method unique,itemMatrix-method |
Mining Associations from Weighted Transaction Data with Eclat (WARM) | WARM warm WECLAT weclat |
Write Transactions or Associations to a File | write write,associations-method write,transactions-method write.csv |