[R] horizontal violin plots?

Karin Lagesen karin.lagesen at medisin.uio.no
Wed Oct 26 14:52:09 CEST 2005


I am trying to make horizontal violin plots. I have tried both vioplot
and simple.violinplot, but both of them seem to not be willing to take
the horizontal option. Is this correct, or am I just bungling it
somehow?

For instance, for vioplot (from the example shown, with the horizontal
modification):


> vioplot(bimodal,uniform,normal, horizontal=TRUE)
Error in median(data) : need numeric data
> 

Karin
-- 
Karin Lagesen, PhD student
karin.lagesen at medisin.uio.no
http://www.cmbn.no/rognes/




More information about the R-help mailing list