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
; 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
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,
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
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) {