Skip to content
Prev 106477 / 398513 Next

: newbie estimating survival curve w/ survfit for coxph

Spencer,

It always helps to look at the documentation for the objects you use.

 	?survfit.object

tells you:

-----------

COMPONENTS

 	strata

 	   if there are multiple curves, this component gives the number
            of elements of the time etc. vectors corresponding to the first
            curve, the second curve, and so on. The names of the elements
            are labels for the curves.


-----------

Note:
rx=1 rx=2
    7    3
If it is still not obvious what gives, look at

 	plot(z)

then at z$time, z$strata, and z$surv.
On Thu, 21 Dec 2006, sj wrote:

            
[ irrelevant prior msg deleted ]



Charles C. Berry                        (858) 534-2098
                                          Dept of Family/Preventive Medicine
E mailto:cberry at tajo.ucsd.edu	         UC San Diego
http://biostat.ucsd.edu/~cberry/         La Jolla, San Diego 92093-0717