David Hugh-Jones
Politics, society and social science.
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
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment