On 14/03/14 08:52, Frederik Borup wrote:
Dear all,

I want to create a boxplot with whiskers. I want to compare several
studies. For each study I have

    1. mean
    2. standard deviation (sd)
    3. name
    4. number of observations (n)

How can i do this in R ?

normally I would type
bxp
or
boxplot

but this is not allowed when I only know mean and sd.

(1) Read the help for bxp.
(2) Think about what you want your box and whiskers to *represent* given that you only know the summary statistics. (Is it *really* meaningful to create a boxplot in such circumstances?) (3) If you can figure that out, then create an appropriate argument (a list) for bxp() and call bxp() with that argument.

cheers,

Rolf Turner

______________________________________________
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