researchdatapod.com
How to Solve R Error: continuous value supplied to discrete scale
This error occurs if you use a numeric variable for the fill, color, and shape aesthetics in ggplot when it expects a factor variable. You can solve this error by using a factor class variable as t…