I currently use stat_ecdf to plot my cumulative frequency graph.
Here is the code I used
cumu_plot <- ggplot(house_total_year, aes(download_speed, colour = ISP)) +
stat_ecdf(size=1)
However I want the ecdf to be reversed(complementary ecdf). Any ideas of the easiest way to do this?
Cheers!
stat_ecdf(size=1, mapping=aes(-download_speed))
work? – Businesswoman