I am trying to fill in a portion of a plot underneath a geom_smooth()
line.
Example:
In the example the data fits on that curve. My data is not as smooth. I want to use geom_point()
and a mix of geom_smooth()
and geom_area()
to fill in the area under the smoothed line while leaving the points above.
A picture of my data with a geom_smooth()
:
In other words, I want everything underneath that line to be filled in, like in Image 1.