I have histogram data of the form
Key | #occurences_of_key
--------------------------
-10 | 1200
0 | 1000
10 | 700
33 | 500
67 | 200
89 | 134
--------------------------
Code to make it:
structure(c(-10, 0, 10, 33, 67, 89, 1200, 1000, 700, 500, 200, 134), .Dim = c(6L, 2L))
I want to plot an Empirical Cumulative Distribution Chart (percentile chart) using R with this data. I am new to R, so I appreciate any pointers. I read about the ecdf function available in R but it is hard for me to follow.
One way I can think of would be to use
repto reconstruct the original data and useecdfon that.