Buenos días,
estaba revisando un draft de un mail y sin querer se envío a la lista de
distribución. Solicito no lo consideren por favor.
Mis disculpas.
Gracias.
Saludos,
Rodrigo.
On 18 March 2013 12:09, Rodrigo Bastías Castillo
<bastias.rodrigo@gmail.com>wrote:
> I have done a plot which represents itemsets as vertices and rules as
> directed edges between itemsets with this lines:
>
> > plot(r1, method = "graph", measure = "confidence",
shading = "lift")
>
>
>
> When I try to do a plot which uses items and rules as two types of
> vertices and edges indicate which items
>
> occur in which rule, I use this lines:
>
>
>
> >plot(r1, method="graph",control=list(type="items"))
>
>
>
> Or
>
>
>
> >plot(r1,
method="graph",control=list(type="itemsets"))
>
>
>
> But R shows this error message:
>
>
>
> “Error in matrix(mean(range), ncol = ncol(x), nrow = nrow(x), dimnames >
dimnames(x)) :
>
> non-numeric matrix extent”
>
>
>
> These are the items in r1:
>
> > inspect(items(r1))
>
> > items
>
> > 1 {X, Y}
>
> > 2 {Z,W}
>
> > 3 {X,T}
>
> > 4 {R,U,W}
>
> > 5 {R, U, W}
>
> > I still don’t understand why it’s a matrix issue.
>
>
>
>
> Muchas gracias.
>
> Saludos,
>
> Rodrigo Bastías C.
> Estadístico PUC, Chile
> http://www.mat.puc.cl/articulo94.html
>
>
>
>
[[alternative HTML version deleted]]