How to deal with “data of class uneval” error from ggplot2?
165 when you add a new data set to a geom you need to use the data= argument. Or put the arguments in the proper order mapping=…, data=…. Take a look at the arguments for ?geom_line. Thus: Or: