The trellis functions accept a 'scale' argument, so xYplot should also.
In the scale argument, you want to create a list for the y-components of the
scale and you want to set the relationship between the y-axes to be 'free'
between the different panels.
xYplot(y~x|z,
groups=k,
scale=list(y=list(relation='free'))
--Matt
Matt Austin
Statistician
Amgen, Inc
-----Original Message-----
From: s-news-owner@lists.biostat.wustl.edu
[mailto:s-news-owner@lists.biostat.wustl.edu]On Behalf Of Thompson,
David (MNR)
Sent: Friday, March 03, 2006 6:40 AM
To: s-news
Subject: [S] using xYplot (was: trellis line plots with error bars)
Thanks to Matt Austin, Madeline Bauer and Henrik Aalborg Nielsen.
All suggested the Hmisc library xYplot function.
I am having increasing levels of success using xYplot and have
successfully resolved my previous post.
(Quite a daunting set of options available there.)
A new question:
Is there a way to generate different y-axis ranges for each panel?
I *know* this defies conventional wisdom but, this is what I am being
requested to produce.
Thanks again, DaveT.
**********************************************************
Silviculture Data Analyst
Ontario Forest Research Institute
Ontario Ministry of Natural Resources
Sault Ste. Marie, Ontario, Canada
david.thompson@mnr.gov.on.ca
**********************************************************
--------------------------------------------------------------------
This message was distributed by s-news@lists.biostat.wustl.edu. To
unsubscribe send e-mail to s-news-request@lists.biostat.wustl.edu with
the BODY of the message: unsubscribe s-news
|