Skip to content

Violin plot for discrete variables.

1 message · Deepayan Sarkar

#
On Monday 21 March 2005 11:08, Martin Maechler wrote:
(Missed this earlier, sorry.)

Wouldn't grouped barcharts be more effective? e.g., 

barplot(rbind(f1, f2), beside = TRUE)

or

barchart(~f1 + f2, origin = 0)

In fact, one way to trick barchart into producing what I think Eryk 
originally wanted would be 

barchart(~f1 + (-f2), stack = TRUE)

(I don't see an obvious way of doing this with barplot.)

Deepayan