The book and the graph you cited are older version of qplot. Modern version of qplot does not even have binwidth option. Your output is correct, even Excel plot histogram like your output. Don't worry about qplot. Here is qplot format: qplot(x, y, data=, color=, shape=, size=, alpha=, geom=, method=, formula=, facets=, xlim=, ylim= xlab=, ylab=, main=, sub=), not binwidth! You should focus more on ggplot2, not the simple version qplot. Happy learning!
hifinecon 发表于 2018-6-6 16:00
The book and the graph you cited are older version of qplot. Modern version of qplot does not even h ...
Really helpful, Thanks. I should change my learning method that I always struggle on some little point and cannot move on for couple of days.
Thanks for your help.