How do I pass aesthetics to stat_summary in ggplot2?
I’m trying to produce the following plot (working example from mtcars)
Passing variables to ggplot aes()
I am using ggplot to map the relationship between two attributes of a vector data.
The attributes are named by year: v_2000, v_2001, v_2002,… and p_2000, p_2001, p_2002,…