s-news
[Top] [All Lists]

[S] how to 'flip' panel boxplots in trellis?

To: SPLUS-Diskussionsliste <s-news@wubios.wustl.edu>
Subject: [S] how to 'flip' panel boxplots in trellis?
From: Matthias Richard <richard@Psyres-Stuttgart.DE>
Date: Thu, 28 Oct 1999 08:22:37 +0100 (MET)
Sender: owner-s-news@wubios.wustl.edu

Hello all,
I have a question concerning the trellis panel boxplots. I would like
to draw series of _vertical_ boxplots in different panels and connect the
medians within each panel with a line.

Two questions:
a) bwplot(x ~ y|z) draws the boxplots _horizontally_: y is the horizontal
   axis and x is the vertical axis giving the groups. I want to have it
   just the other way around - does anybody know how to do that in order
   to get _vertical_ boxplots??

b) how can I connect the medians in each panel.boxplot? I am thinking
   of using tapply(y,factor(x),median) and add it by lines(), but I do
   not know how to do it inside each panel...


any help?

thanks a million in advance

Matthias
   

----------------------------------------
Matthias Richard (doctoral candidate)

Center for Research on Psychotherapy
Christian-Belser-Str. 79a
70593 Suttgart
Germany
email: richard@psyres-stuttgart.de
telephone: ++49-711-6781-408
http://www.psyres-stuttgart.de

COST Action B6:
'Efficient Psychotherapy of Eating Disorders'
(COoperation of Science and Technology in the European Union)
-----------------------------------------

-----------------------------------------------------------------------
This message was distributed by s-news@wubios.wustl.edu.  To unsubscribe
send e-mail to s-news-request@wubios.wustl.edu with the BODY of the
message:  unsubscribe s-news

<Prev in Thread] Current Thread [Next in Thread>
  • [S] how to 'flip' panel boxplots in trellis?, Matthias Richard <=