[R] arules package: using image() deliveres unexpected results

From: Markus Preisetanz <Markus.Preisetanz_at_clientvela.com>
Date: Sat 29 Jul 2006 - 01:40:03 EST


Dear Collegues,  

it seems like there is a problem with the image()-method in the package arules.  

Using an ordninary matrix works fine:
image(matrix(rnorm(200), 10, 20), axes = FALSE, col=brewer.pal(9, "Blues") ) delivers an image with blue colors and no axes.  

Using an object of the class "associations" (arules package) does not work:  

image(items(ta.eclat), axes = FALSE, col=brewer.pal(9, "Blues") ) delivers an error message telling that the argument "col" matches to several formal arguments.  

image(items(ta.eclat), axes = FALSE)
delivers no error message but draws axes, which clearly should not be the case

In the source code of arules I couldn't find any definition of the image-function (especially no image.R-file.)

What I want to do is drawing an image of itemsets as produced by eclat, with blue colors and the item labels at the x-axe.

Does anybody know help?

Thank You, Markus  



Markus Preisetanz
Consultant

Client Vela GmbH
Albert-Roßhaupter-Str. 32
81369 München
fon: +49 (89) 74217-113
main: +49 (89) 74217-150
fax: +49 (89) 74217-250
markus.preisetanz@clientvela.com <mailto:markus.preisetanz@clientvela.com> http://www.clientvela.com <http://www.clientvela.com/>  

Diese E-Mail enthält vertrauliche und/oder rechtlich geschüt...{{dropped}}



R-help@stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code. Received on Sat Jul 29 01:55:10 2006

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.1.8, at Sat 29 Jul 2006 - 04:16:34 EST.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-help. Please read the posting guide before posting to the list.