Matthew Vernon m.c.ver...@warwick.ac.uk 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
On Dec 20, 2010, at 8:33 AM, Matthew Vernon wrote:
Matthew Vernon m.c.ver...@warwick.ac.uk 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
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,
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)
Can you show us what you tried and how it differs from what you expect?
The boxplot function calculates the summaries, then calls the bxp function to
do the plotting. So you should be able to create a list similar to what
boxplot does that you can then pass directly to bxp. If you have tried
5 matches
Mail list logo