R Coding Errors Suck: Continuous Value Supplied to Discrete Scale

Data Scientist Dude
3 min readFeb 7, 2023
Photo by Luke Peters on Unsplash
Error: Continuous value supplied to discrete scale

What this Error is.

The “Continuous value supplied to discrete scale” error in R typically occurs when you try to use a continuous variable in a plot with a discrete aesthetic, such as fill or color. This error occurs because ggplot2 is expecting a categorical or…

--

--

Data Scientist Dude

Data Scientist, Linguist and Autodidact - My mission is to help people understand and use data models.-