[R] Creating a boxplot from a data summary

Robert Baer rbaer at atsu.edu
Sun Mar 24 20:16:42 CET 2013


On 3/24/2013 11:39 AM, Josh Hall wrote:
> Hi,
> I'm trying to create a boxplot from the summary of a large data set and I'm
> having trouble finding any way to do this.  I'm familiar with, but by no
> means good at, using R, so the only two websites I've found pertaining to
> this issue have been way over my head.  I was hoping for a simple set of
> instructions that I could follow to produce a boxplot, in R, for three
> groups of data, with 8 weighted responses.  For example, the groups are
> three different professions, each asked to fill out and rank 8 statements
> in order from 1-8.  Ideally these would be on one graphic output, but if
> that can't be done, one output per group would be suitable.
>
Look at the help for bxp:
?bxp

# The following give you insight into a boxplot structure
bp = boxplot(list(a=rnorm(10),b = rnorm(10), c = rnorm(10)))
bp


> 	[[alternative HTML version deleted]]
>
> ______________________________________________
> 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.


-- 

Robert W. Baer, Ph.D.
Professor of Physiology
Kirksille College of Osteopathic Medicine
A. T. Still University of Health Sciences
Kirksville, MO 63501 USA



More information about the R-help mailing list