Plot accumulated events based on survival data from kaplan meier curves

"New" to both R and statistics.

What I want to do is to use extracted data from a kaplan meier survival curve (Table A) and plot accumulated expected events over time for a secondary pasient group B with no known events. Patient group B are accumulated over time (Table B).

Table A looks like this:

"Time (Months)", "Survival"
0,47; 99,53
1,60; 95,97
1,98; 94,07
etc

Table B looks like this:

"Time (Weeks)","Nr. of patient"
0,0
13,3
26,12
39,24
52,40
etc

What I want to end up with is a plot something like this:

image

This topic was automatically closed 21 days after the last reply. New replies are no longer allowed.

If you have a query related to it or one of the replies, start a new topic and refer back with a link.