Dear Stata users,
I found a new violin plot package called -violinplot- wrote by Ben Jann. It gives us a new choice of detecting variable distribution. However, this new -violinplot- command seems quite different from older ones, for example, -violin- (by Thomas J. Steichen) or -vioplot- (by Nicholas Winter and Austin Nichols). Below I gives an example, and could someone tell me what caused this difference. Thank you.
I found a new violin plot package called -violinplot- wrote by Ben Jann. It gives us a new choice of detecting variable distribution. However, this new -violinplot- command seems quite different from older ones, for example, -violin- (by Thomas J. Steichen) or -vioplot- (by Nicholas Winter and Austin Nichols). Below I gives an example, and could someone tell me what caused this difference. Thank you.
Code:
sysuse citytemp vioplot heatdd cooldd, name(g1) violinplot heatdd cooldd, vertical fill name(g2) graph combine g1 g2, ycommon
Comment