researchdatapod.com
How to Solve R Error: mapping should be created with aes() or aes_()
This error occurs if you use the aesthetics function aes() in the incorrect place or without the mapping syntax. You can solve this error either by putting the aes() call inside ggplot2(), for exam…