[R] violin - like plots for bivariate data

Liaw, Andy andy_liaw at merck.com
Mon Nov 16 17:30:25 CET 2009


sounds like bivariate density contours may be what you're looking for.


Andy

From: Eric Nord
> 
> I'm attempting to produce something like a violin plot to 
> display how y
> changes with x for members of different groups (My specific 
> case is how
> floral area changes over time for several species of plants). 
> I've looked at
> panel.violin (in lattice), which makes nice violin plots, but 
> is really set
> up to work on a single variable - the area trace represents 
> the frequency of
> each value of x for each group.
> 
> I'm wondering if anyone is aware of a function to do this?
> 
> I can imagine how to accomplish this using polygon, but I 
> will admit I'm not
> sure what the best way would be to smooth the data. That said, I would
> prefer not to reinvent the wheel!
> 
> Thanks in advance for any wisdom you can share!
> 
> Eric
> -- 
> View this message in context: 
> http://old.nabble.com/violin---like-plots-for-bivariate-data-t
> p26373071p26373071.html
> Sent from the R help mailing list archive at Nabble.com.
> 
> ______________________________________________
> 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.
> 
Notice:  This e-mail message, together with any attachme...{{dropped:10}}




More information about the R-help mailing list