Sunday, 7 June 2015

R tip: bubble plot

To draw a bubble plot for data with many identical values:

library(plotrix)
sizeplot(x, y, pch = 19, col = "green")

The area of the bubble is proportional to the number of values at that point.

No comments:

Post a Comment