You can certainly do this by counting external to ggplot, but one of the great things about ggplot is that you can do many of these statistics internally!
You can certainly do this by counting external to ggplot, but one of the great things about ggplot is that you can do many of these statistics internally! Using your mpg example above: ggplot(mpg) + geom_point(aes(x=great_cty, y=great_hwy, size=..count..), stat="bin").
That's a great solution. Thanks! – Shane Oct 2 '09 at 21:06 Exactly what I was looking for.
Looks like most cars are not great in terms of city and highway mileage ;) – hgimenez Oct 2 '09 at 21:49 You might also want to check out this page, just to make sure that the size of the points is what you think it is (radius? Area? ): had.co.Nz/ggplot2/scale_size.
Html I think having proportional areas is traditionally preferred to proportional radii. – Matt Parker Oct 2 '09 at 22:16 1 Yes, but ggplot2 doesn't do that because it only works for points - not (e.g.) lines or text. Scale_area is strongly recommended for points!
– hadley Oct 2 '09 at 22:58.
I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.