- Curious – why doesn’t stat_summary produce any new variables? Would seems very useful to have access to the y values, or am I missing something?
- If I used stat_summary to get the mean of all y’s at a given x, is there some way to identify the new y (the means) that is the max/min of all new y’s? So lets say I want points for all means, but then I want to color the highest mean point and the lowest mean point with different colors. How would I do that?
Curious – why doesn’t stat_summary produce any new variables? Would seems very useful to
Share
As Brandon says, I strongly recommend to summarize data by yourself before using ggplot, but you can access the summarized “y” like this:
maybe this is difficult to understand though.