search for: weekciti

Displaying 1 result from an estimated 1 matches for "weekciti".

Did you mean: weekcity
2018 Apr 29
1
Overlay line on a bar plot - multiple axis
Dear all, I am trying to make a similar plot - https://peltiertech.com/images/2013-09/BarLineSampleChart4.png. I have data for two variables; count and z by city and week. I would like to have a horizontal bar plot of *count* by city and a line plot of weekly average of the variable *z*. I have tried the following: ggplot() + geom_bar(data=dat, aes(x=city, y=count),