[R] Location of boxplots in bwplot

From: Sharon Kuhlmann-B <sharon.kuhlmann_at_smi.ki.se>
Date: Mon, 18 Feb 2008 11:15:38 +0100


I am trying to adjust the position of the boxplots when using bwplot(). In boxplot() there is the alternative to modify the position of the boxes by using boxplot(y~x, at=...).

However, I don't seem to find a comparable option in bwplot(). I would like in some instances to add more space between the boxplots, e.g. that I could specify at=c(1, 2, 5, 6) so that the first two boxplots are close to each other, and the other two a bit further apart. I can do something like this with the labels, but haven't managed with the actual boxplots.

Grateful for any suggestions.



Sharon Kühlmann Berenzon, Ph.D.
Dept. Epidemiology
Swedish Institute for Infectious Disease Control (SMI)  

tel. +46-8-457 2376; fax. +46-8-30 06 26

R-help_at_r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code. Received on Mon 18 Feb 2008 - 10:20:50 GMT

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.2.0, at Mon 18 Feb 2008 - 10:30:14 GMT.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-help. Please read the posting guide before posting to the list.

list of date sections of archive