Re: [R] box-and-whisker plots based on summary not data

2010-12-20 Thread David Winsemius
On Dec 20, 2010, at 8:33 AM, Matthew Vernon wrote: Matthew Vernon writes: Is it possible to produce box-and-whisker plots given that I have the median, interquartile and 5/95th centile values, but not the data from which they come? Please note that the whiskers of the default BWP are NO

Re: [R] box-and-whisker plots based on summary not data

2010-12-20 Thread Matthew Vernon
Matthew Vernon writes: > Is it possible to produce box-and-whisker plots given that I have the > median, interquartile and 5/95th centile values, but not the data from > which they come? The answer, which came from Steve Ellison (thanks!) is to note that "stats" is the only bit of the "z" argume

Re: [R] box-and-whisker plots based on summary not data

2010-12-17 Thread Greg Snow
nal Message- > From: r-help-boun...@r-project.org [mailto:r-help-boun...@r- > project.org] On Behalf Of Matthew Vernon > Sent: Friday, December 17, 2010 6:06 AM > To: r-h...@stat.math.ethz.ch > Subject: [R] box-and-whisker plots based on summary not data > > Hi, > > Is

Re: [R] box-and-whisker plots based on summary not data

2010-12-17 Thread Tal Galili
It would seem that simply running the boxplot on the relevent numbers will give you a boxplot (Assuming you are not beyond the fences). set.seed(10) x = rnorm(100) boxplot(x) boxplot(summary(x)[-4]) # If beyond the fences - it won't work set.seed(10) x = c(rnorm(100), 10) boxplot(x) boxplot(s

[R] box-and-whisker plots based on summary not data

2010-12-17 Thread Matthew Vernon
Hi, Is it possible to produce box-and-whisker plots given that I have the median, interquartile and 5/95th centile values, but not the data from which they come? It seems that it ought to be possible to coerce bxp to do what I want, but I can't quite see how. Thanks, Matthew -- Matthew Vernon,