Re: [R] R prints empty group on my figure!!

2013-05-10 Thread Adel ESSAFI
ESSAFI Sent: Wednesday, May 08, 2013 12:48 PM To: r-help Subject: Re: [R] R prints empty group on my figure!! hello, I attach the figure generated by R: 2013/5/8 Adel ESSAFI adeless...@gmail.com Hello list I am trying to solve a problem when drawing a figure related

Re: [R] R prints empty group on my figure!!

2013-05-09 Thread PIKAL Petr
Hi Use drop=TRUE argument in interaction for removing unused levels. Petr -Original Message- From: r-help-boun...@r-project.org [mailto:r-help-bounces@r- project.org] On Behalf Of Adel ESSAFI Sent: Wednesday, May 08, 2013 12:48 PM To: r-help Subject: Re: [R] R prints empty group

[R] R prints empty group on my figure!!

2013-05-08 Thread Adel ESSAFI
Hello list I am trying to solve a problem when drawing a figure related to the dataframe below. I draw V6 in Y axes and V3 as X axes. The data are grouped by V1 AND V2. I use this commande to make it: xyplot(cm[,6]~cm[,3],type=b,group=interaction(cm[,1],cm[,2],sep=/), auto.key =list(

Re: [R] R prints empty group on my figure!!

2013-05-08 Thread Adel ESSAFI
hello, I attach the figure generated by R: 2013/5/8 Adel ESSAFI adeless...@gmail.com Hello list I am trying to solve a problem when drawing a figure related to the dataframe below. I draw V6 in Y axes and V3 as X axes. The data are grouped by V1 AND V2. I use this commande to make it:

Re: [R] R prints empty group on my figure!!

2013-05-08 Thread jim holtman
try using: group = factor(paste(cm[, 1], cm[, 2], sep = '/')) instead of group=interaction(cm[,1],cm[,2],sep=/) On Wed, May 8, 2013 at 4:25 AM, Adel ESSAFI adeless...@gmail.com wrote: Hello list I am trying to solve a problem when drawing a figure related to the dataframe below. I draw