Entering edit mode
5 weeks 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 ?
I have used this R code and I don't know how to interpret the results. Can somebody please help.
I'm getting this type of plot.
Please use
ADD COMMENT/ADD REPLY
when responding to existing posts.SUBMIT ANSWER
should only be used for a NEW answer to the original question.