[R] Error in Arules

Duncan Murdoch murdoch at stats.uwo.ca
Tue Mar 4 22:50:54 CET 2008


On 04/03/2008 4:34 PM, Tibert, Brock wrote:
> Hi everyone,
> 
>  
> 
> This is my first posting and I am just starting to fumble my way thru R.
> I have been working thru the Arules package, and I used to be able to
> use the image function and I get the following message:
> 
>  
> 
> Error in image.default(basket2) : 'z' must be a matrix
> 
>  
> 
> I used to be able to plot the image.  I only started to get this error
> when I tried to add x and y axis labels.  Any ideas?

It would be helpful to show code that works, and code that doesn't.  But 
what the error message says is that someone (you?  the code you called?) 
called the image.default function with just one argument basket2, and 
it's not a matrix.

Duncan Murdoch



More information about the R-help mailing list