s-news
[Top] [All Lists]

tidying up plots from groupedData

To: <s-news@lists.biostat.wustl.edu>
Subject: tidying up plots from groupedData
From: "Guy Forrester" <ForresterG@landcareresearch.co.nz>
Date: Tue, 30 Nov 2004 16:42:04 +1300
Dear All,
 
I am trying to tidy up some graphs from a groupedData object with little success.  I can produce the basic plot no problem, but when I try to use some of the trellis plot functions, nothing appears to happen. 
 
Could someone please enlighten me (and I have been through the help)
 
 
aptt.g<-groupedData(APTT~days|pig.id,data="">plot(aptt.g,outer=~dose.group) #basic groupedData plot
plot(aptt.g,outer=~dose.group,panel = function(x, y) {
                 panel.grid(h=0,v=0) #grid lines are still present
                 #is there a command to change the colour of the lines?
                 panel.xyplot(x, y,pch=16,col=1,cex=0.5)}, #colour and size of plotting char unchanged
                 layout=c(2,2),aspect="fill")
Many thanks in advance for any suggestions
 
Guy
 
 
 
--------------------------------------------------------
Guy J Forrester
Biometrician
Manaaki Whenua - Landcare Research
PO Box 69, Lincoln, New Zealand.
Tel. +64 3 325 6701 x3738
Fax +64 3 325 2418
E-mail ForresterG@LandcareResearch.co.nz
www.LandcareResearch.co.nz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
WARNING: This email and any attachments may be confidential and/or
privileged. They are intended for the addressee only and are not to be read,
used, copied or disseminated by anyone receiving them in error. If you are
not the intended recipient, please notify the sender by return email and
delete this message and any attachments.

The views expressed in this email are those of the sender and do not
necessarily reflect the official views of Landcare Research.

Landcare Research
http://www.landcareresearch.co.nz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

<Prev in Thread] Current Thread [Next in Thread>
  • tidying up plots from groupedData, Guy Forrester <=