Hello,
I want to find out if there is a way of getting an exact y-value based on a x-value for a kaplan-meier curve. I am able to draw the plot, but can't figure out how to get exact values (for example t=1000).
Thanks for your help
Hi!
To help us help you, could you please prepare a reproducible example (reprex) illustrating your issue? Please have a look at this guide, to see how to create one:
Hello,
my data set is huge, but here's part of it to help illustrate what I would like to do. I would like to find futime (t) = 2000 for example.
age | sex | weight | height | bmi | futime | status |
---|---|---|---|---|---|---|
57 | 0 | 60.0 | 163 | 22.69094 | 6261 | 0 |
67 | 0 | 70.4 | 168 | 24.88403 | 624 | 0 |
53 | 1 | 105.8 | 186 | 30.45354 | 1783 | 0 |
56 | 1 | 109.3 | 170 | 37.83010 | 3143 | 0 |
68 | 1 | NA | NA | NA | 1836 | 1 |
39 | 0 | 63.9 | 155 | 26.61559 | 1581 | 0 |
Please read the guide again. Look for mention of dput
Also the code that processes your data into the chart should be provided
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.