Skip to content

Commit

Permalink
version 1.0-4
Browse files Browse the repository at this point in the history
  • Loading branch information
mhahsler authored and cran-robot committed Sep 15, 2015
1 parent f4c2958 commit 6441bcc
Show file tree
Hide file tree
Showing 5 changed files with 17 additions and 20 deletions.
10 changes: 5 additions & 5 deletions DESCRIPTION
@@ -1,10 +1,10 @@
Package: arulesViz
Version: 1.0-3
Date: 2015-x-xx
Version: 1.0-4
Date: 2015-09-14
Title: Visualizing Association Rules and Frequent Itemsets
Author: Michael Hahsler and Sudheer Chelluboina
Maintainer: Michael Hahsler <mhahsler@lyle.smu.edu>
Depends: R (>= 2.14.0), arules (>= 1.0-5), grid
Depends: R (>= 2.14.0), arules (>= 1.2.0), grid
Imports: scatterplot3d, vcd, seriation, igraph (>= 1.0.0), graphics,
methods, utils, grDevices, stats
Suggests: graph, Rgraphviz, colorspace, iplots
Expand All @@ -14,6 +14,6 @@ URL: http://lyle.smu.edu/IDA/arules/
BugReports: http://r-forge.r-project.org/projects/arules
Copyright: (C) 2011 Michael Hahsler and Sudheer Chelluboina
NeedsCompilation: no
Packaged: 2015-08-29 04:49:06 UTC; hahsler
Packaged: 2015-09-15 13:34:15 UTC; hahsler
Repository: CRAN
Date/Publication: 2015-09-15 15:18:00
Date/Publication: 2015-09-15 16:22:06
8 changes: 4 additions & 4 deletions MD5
@@ -1,6 +1,6 @@
6f6dc91db43f2074b891d93a32b5d96f *DESCRIPTION
054436a81b39f110a891802ab4828f2c *DESCRIPTION
89bf301631c5803ea0426b4a62795c10 *NAMESPACE
57b3efe12df31ac8ba4124324265a668 *R/AAA_helpers.R
2d8eba973ac6b994380b3b3e052e881a *R/AAA_helpers.R
fb63ca7c5c1e07a38299920436b70a0f *R/abbreviate.R
37fe3d5d52b768bfb2947fe814c52f49 *R/doubledecker.R
c51a094dae34cc5d475d01e0145403f3 *R/gInteraction.R
Expand All @@ -15,10 +15,10 @@ c1eae7a5ed310d29e26799f55b4510af *R/plot.R
4723f6ffa00e4bb8f921dfc721cc44ee *R/save.R
a8cfb6543d3a0250bca893b54de10b6f *R/scatterplot.R
48eec1c92a7c46e749439ba7f8f17486 *build/vignette.rds
dc59c1e71f5d893d8447ffbffbb097de *inst/NEWS
08396d4c3bd5f5df62576f8deaac51f9 *inst/NEWS
fcb0c315150b175df2c0262f900b8409 *inst/doc/arulesViz.R
8bac463807ebd1907899b4fa483d5452 *inst/doc/arulesViz.Rnw
8643156474d99fa2653e2c4c43324a15 *inst/doc/arulesViz.pdf
d4e247f5a9931829c13420b4d6be18ea *inst/doc/arulesViz.pdf
3b3888dda689c1242e3ce5738756b25e *inst/n.html
75c3205a7d4f041b790874bb2ba0420e *man/abbreviate.Rd
de30ef71237cc3cee8aa86c56fbfed52 *man/plot.Rd
Expand Down
16 changes: 6 additions & 10 deletions R/AAA_helpers.R
Expand Up @@ -47,8 +47,8 @@ rulesAsDataFrame <- function(rules, measure = "support") {
conseqs <- labels(rhs(rules))

data.frame(
antecedent = ordered(antes, levels = unique(antes)),
consequent = ordered(conseqs, level = unique(conseqs)),
antecedent = factor(antes, levels = unique(antes)),
consequent = factor(conseqs, levels = unique(conseqs)),
measure = quality(rules)[[measure]]
)
}
Expand Down Expand Up @@ -83,18 +83,14 @@ rulesAStable <- function(rules, data) {
}


getTable <- function(rule, data) {
antecedent <- unlist(LIST(lhs(rule), decode = FALSE))
consequent <- unlist(LIST(rhs(rule), decode = FALSE))
getTable <- function(rules, data) {
antecedent <- unlist(LIST(lhs(rules), decode = FALSE))
consequent <- unlist(LIST(rhs(rules), decode = FALSE))
transactions <- data[, c(antecedent, consequent)]
ruleAsDataFrame <- as.data.frame(as(transactions, "matrix"))
for (i in 1:ncol(ruleAsDataFrame)) {
ruleAsDataFrame[[i]] <- factor(ruleAsDataFrame[[i]],
levels = c(0, 1), labels = c("no", "yes"))
}
table(ruleAsDataFrame)
}




}
3 changes: 2 additions & 1 deletion inst/NEWS
@@ -1,5 +1,6 @@
Changes in version 1-0.3 (x/xx/2015)
Changes in version 1-0.3 (09/15/2015)
* fixed empty LHS problem in grouped plot (reported by Andrew Collier)
* Updated for arules version 1-2.0

Changes in version 1-0.2 (6/29/2015)
* fixed imports from non-base standard packages.
Expand Down
Binary file modified inst/doc/arulesViz.pdf
Binary file not shown.

0 comments on commit 6441bcc

Please sign in to comment.