[R] left-to-right series of box and whisker plots from a csv file

Albert Vilella avilella at gmail.com
Sat Apr 24 21:53:14 CEST 2010


Hi,

I've got a csv file with scores like this:
40,40,40,40,40,40,40,40,40,40,40,40,40,40,40,32,38,40,20,40,26,40,30,40,5,5,13,12,40,40,3,33,29,23,2,24,9,15,4,21,16,5,26,8,8,18
40,40,40,40,40,40,40,40,40,40,40,40,40,40,40,40,40,40,40,40,40,32,40,40,30,40,40,37,34,40,36,13,40,13,40,5,40,8,29,5,15,34,5,22,14,20
40,40,40,40,40,40,40,40,40,12,40,40,40,20,40,40,17,40,40,40,40,40,11,40,40,29,12,40,1,13,21,10,14,24,9,13,18,28,19,12,15,3,5,3,8,2
[...]

For a given file, the number of columns can vary from a few dozen to a
few hundreds, and I would like a script that
draws a series of box and whiskers or violins left to right for every
column in a single plot.

How can I do that in a self-contained R script that can be called with
the input file as argument?

Cheers,

Albert.



More information about the R-help mailing list