Displaying 1 result from an estimated 1 matches for "fitstudy".
2003 Jan 16
1
help drawing kaplan-meier plot starting from 0
...endpoint (Time), in my case becommming virus free.
I have setup the following frame:
Time c Drug
1 5 1 A
2 7 1 B
3 2 1 A
4 10 1 B
5 6 1 A
6 8 1 B
"c" contains the coding if sucessful or not, but I think at the moment that
is not important.
I did
fitstudy <- survfit(Surv(Time) ~ Drug, data=study) or
fitstudy <- fitstudy <- survfit(Surv(Time, c) ~ Drug, data=study)
and than
plot(fitstudy)
which gives me a Kaplan-Meier Curve, starting with 1. However I would like
to the a plot
starting with "0" and than showing the increasing nu...