[R] Boxplot width

From: Antje <niederlein-rstat_at_yahoo.de>
Date: Fri, 23 May 2008 17:52:10 +0200

Hi there,

assume that you have data with different sampling like

d1 <- rnorm(100)
d2 <- rnorm(150)

now, I'd like to create two boxplots in one graph but each plot located at the sampling number at the x-axis. This, I can do with "at"

l <- list(d1,d2)
boxplot(l, at=c(length(d1), length(d2)), xlim=c(0,200) )

but both plots are very thin and I'd like to increase the width of the plot. I tried "width" but probably I do it wrong.

Can anybody help me?


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 Fri 23 May 2008 - 17:42:23 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 Fri 23 May 2008 - 18:30:43 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