Re: [R] Question on xyplot

2013-11-21 Thread Duncan Mackay
-boun...@r-project.org [mailto:r-help-boun...@r-project.org] On Behalf Of Carl Witthoft Sent: Thursday, 21 November 2013 23:22 To: r-help@r-project.org Subject: Re: [R] Question on xyplot you didn't show us the code you used to generate the legend. I'm guessing you want to add to the legend list

Re: [R] Question on xyplot

2013-11-21 Thread Carl Witthoft
you didn't show us the code you used to generate the legend. I'm guessing you want to add to the legend list something like lty=0:7 . KB wrote I recently started using R, so I'm not really experienced with it. My question is on adjusting xyplots to get lty lines instead of coloured lines.

[R] question on xyplot

2008-10-03 Thread eugen pircalabelu
Hi List, I have the following problem: I am using the multilevel package and make.univ function for available in the package and then xyplot from lattice and I want to know how could I be able to use the “coefficient” for the straight line that passes the data ? Example from help:

Re: [R] question on xyplot

2008-10-03 Thread hadley wickham
On Fri, Oct 3, 2008 at 8:04 AM, eugen pircalabelu [EMAIL PROTECTED] wrote: Hi List, I have the following problem: I am using the multilevel package and make.univ function for available in the package and then xyplot from lattice and I want to know how could I be able to use the coefficient

Re: [R] question on xyplot

2008-10-03 Thread Deepayan Sarkar
On 10/3/08, hadley wickham [EMAIL PROTECTED] wrote: On Fri, Oct 3, 2008 at 8:04 AM, eugen pircalabelu [EMAIL PROTECTED] wrote: Hi List, I have the following problem: I am using the multilevel package and make.univ function for available in the package and then xyplot from lattice

[R] question in xyplot of lattice

2007-12-07 Thread Aimin Yan
I try to make a xyplot like the following: xyplot(y1+y2~id|groups, ...) I also want to calculate cor(y1,y2) in each group, print it on each panel. Does anyone know how to write panel function for this? Thanks, Aimin __ R-help@r-project.org mailing

Re: [R] question in xyplot of lattice

2007-12-07 Thread Deepayan Sarkar
On 12/7/07, Aimin Yan [EMAIL PROTECTED] wrote: I try to make a xyplot like the following: xyplot(y1+y2~id|groups, ...) I also want to calculate cor(y1,y2) in each group, print it on each panel. Does anyone know how to write panel function for this? This should work: panel.cor -