s-news
[Top] [All Lists]

summary: boxplot without axes

To: "S news (E-Mail)" <s-news@wubios.wustl.edu>
Subject: summary: boxplot without axes
From: Wolfgang Hannöver <hannoeve@mail.uni-greifswald.de>
Date: Tue, 26 Jun 2001 08:56:33 +0200
Importance: Normal
Dear S-Plus users,
last week I posted the following question:

I have a question regarding the function bwplot. I would like to plot a
boxplot without axes, using bwplot and add the axes later using axis.
The command bwplot(x, data=df, axes=F) returns the following error message "
Error in points: Invalid argument name: axes"
and also returns a boxplot without axes, but also without the symbol
representing the median.
Using the type = "n" argument produces a boxplot with axes, but again
without the symbol representing the median.
Is there a way to produce a boxplot without axes, so they may be added
later, but with the symbol representing the median?

Thanks to Bert Gunter and Carlisle Thacker who both suggested to use the
function boxplot instead of bwplot. The suggestions work perfectly of
course. I wanted to plot the boxplots conditional on the expression of
another variable and tried trellis grpahics. Of course with subsetting etc.
this can also be done with boxplot. I guess I was just a little bit too lazy
with subsetting and demanding too much control over trellis graphics.

Thanks, cheers and all the best!

Wolfgang

***************************************************
Wolfgang Hannöver
Ernst-Moritz-Arndt-Universität Greifswald
Institut für Epidemiologie und Sozialmedizin
Walther-Rathenau-Str. 48

17487 Greifswald

fon.: 03834/867709    fax:03834/867701
e-mail: hannoeve@uni-greifswald.de
http://www.medizin.uni-greifswald.de/epidem/
***********************************************



<Prev in Thread] Current Thread [Next in Thread>
  • summary: boxplot without axes, Wolfgang Hannöver <=