Hello,
I would like to print counts on the plot points utilizing the fact that geom_count() does the counting.
Can you tell what should be changed in geom_text() line to get this done? What to put in the label = ... command?
(the plot uses Galton's parent & child height data)
In fact, I have come up with a similar solution without geom_count() - thus it is not so quick or elegant as it potentially could be.
And geom_smooth() does the regression on the aggregated data instead of raw.
Therefore using geom_count() seems better, if possible here..
EDIT: I found a way to show proper regression with geom_smooth() by making a new data frame with original galton and aggregated df
STILL the question remains - is there a quicker way to do this with geom_count()?