Entering edit mode
2.4 years ago
3095916029
•
0
I used R package "ggplot2" to draw a line chart. Now i want to make it flatter. Is there any data processing or graphical processing that can do this? Like this:
to this:
Check out
geom_smooth()
, using something like a Loess regression fit or a GAM. Essentially, it will come down to smoothing out these outliers to get a nicer "flat" line.