Skip to content
Back to formatted view

Raw Message

Message-ID: <1311370296462-3687965.post@n4.nabble.com>
Date: 2011-07-22T21:31:36Z
From: Bharath Kumar
Subject: help on panel.superpose

Dear users,

I am new to R and have couple of problems with xyplot.

A) I am trying to use the xyplot to plot mean concentration vs time across 5
dose groups.

When i use the following script
xyplot(mean~time,groups=dose,type="b",panel=panel.superpose). R generates
the plot, but i have no control over pch or color for the line. It displays
whatever color and pch it wants to generate. How do i fix this. 

B) I am trying to use the same function to plot individual data across dose
groups

xyplot(conc~time|dose,groups=subject,type="l") works. But it would be great
if anyone can shed light on how to superimpose the mean profile for each
dose group within that panel

Any help will be appreciated
Thanks
Kumar


--
View this message in context: http://r.789695.n4.nabble.com/help-on-panel-superpose-tp3687965p3687965.html
Sent from the R help mailing list archive at Nabble.com.