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(summary(x)[-4])

Cheers,
Tal
----------------Contact
Details:-------------------------------------------------------
Contact me: tal.gal...@gmail.com |  972-52-7275845
Read me: www.talgalili.com (Hebrew) | www.biostatistics.co.il (Hebrew) |
www.r-statistics.com (English)
----------------------------------------------------------------------------------------------




On Fri, Dec 17, 2010 at 3:05 PM, Matthew Vernon <m.c.ver...@warwick.ac.uk>wrote:

> 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, Research Fellow
> Ecology and Epidemiology Group,
> University of Warwick
> http://blogs.warwick.ac.uk/mcvernon
>
> ______________________________________________
> R-help@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.
>

        [[alternative HTML version deleted]]

______________________________________________
R-help@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.

Reply via email to