with this example data
c(5, 5, 5, 10, 20, 25, 25, 25, 30, 30)
How can I plot this into a bar chart that shows a range on the X axis (5 to 30) and Y shows the percentage of all values >= each interval.
i.e. the first Bar would be a 100% as all values are equal to or above 5, the next would be 70% for values >= 10, then 60% >= 20 and so on...
I could shape the data frame to do this but was wondering if there is a way to achieve it more efficiently.
Thanks for any help in advance!