I need to plot a bar chart showing counts and a line chart showing the average. This all in one chart with multiple y axes.
Here is an example of the dataframe:
df <- data.frame("YearMonth" = c(20141, 20142, 20143, 20144), "Count" = c(435, 355, 360, 318), "Average" = c(107, 85, 86, 74))
How can this be done?
Thanks a lot.