Re: [R] xyplot: discrete points + continuous curve per panel

2006-12-14 Thread Petr Pikal
at 23:22, RMan54 wrote: Date sent: Wed, 13 Dec 2006 23:22:41 -0800 (PST) From: RMan54 [EMAIL PROTECTED] To: r-help@stat.math.ethz.ch Subject:[R] xyplot: discrete points + continuous curve per panel I have a number of x, y

Re: [R] xyplot: discrete points + continuous curve per panel

2006-12-14 Thread Rene Braeckman
; r-help@stat.math.ethz.ch Subject: Re: [R] xyplot: discrete points + continuous curve per panel Hi there is probably better solution but you can try to fiidle with this idea, which adds stight lines to each panel one after another. # based on Gabor Grothendieck's code suggestion # adds straight

Re: [R] xyplot: discrete points + continuous curve per panel

2006-12-14 Thread Deepayan Sarkar
On 12/13/06, RMan54 [EMAIL PROTECTED] wrote: I have a number of x, y observations (Time, Conc) for a number of Subjects (with subject number Subj) and Doses. I can plot the individual points with xyplot fine: xyplot(Conc ~ Time | Subj, Groups=Dose, data=myData,

Re: [R] xyplot: discrete points + continuous curve per panel

2006-12-14 Thread RMan54
Great. I will be trying to use panel.curve and pass a custom curve function as first argument (called test() below). I can use which. packet to get access to the panel number to produce the correct curve for each panel but what I really need is the active Subj (actSubj) for each panel. Not sure

[R] xyplot: discrete points + continuous curve per panel

2006-12-13 Thread RMan54
I have a number of x, y observations (Time, Conc) for a number of Subjects (with subject number Subj) and Doses. I can plot the individual points with xyplot fine: xyplot(Conc ~ Time | Subj, Groups=Dose, data=myData, panel = function(x,y) {