Entering edit mode
8 days ago
prithvi.mastermind
▴
50
I want to plot a step graph or an inverse KM plot in R. Please help me to plot the graph with R scripts. I have attached a picture of plot which I want to make for my data exactly similar.
Please, show us what you have tried so far to reach your goal and we can see how to improve it. The community is only here to provide guidance and submit inputs.
https://stackoverflow.com/questions/23463698/how-to-create-a-stair-step-plot-of-data-in-r-ggplot2
https://stats.stackexchange.com/questions/14620/how-to-plot-a-stair-steps-function-with-ggplot
I'm getting a plot like that with this code
Please give inputs how can I improve this.
My input data is like so:
What is the problem with this plot ?