Is there any way to plot the cumulative probability from a frequency table? I mean a “smooth” version of it, similar to the way geom_density() plots.
So far, I managed to plot the individually calculated probabilities as points joined by lines, but it doesn’t look very good.
I generate some test data:
You can use geom_smooth from the ggplot2 package.
As an alternative, an easy way to specifiy smoothing by a parameter try DeconCdf from the decon package:
If you want to use ggplot, you first have to transform the Decon function object in a data.frame.
Use the sig-Parameter as your smoothing parameter: