Re: [R] log rank test p value

From: Terry Therneau <>
Date: Wed, 16 May 2007 08:09:36 -0500 (CDT)

The best place to start is
> help(survdiff)

That's right -- read the documentation! This tells you what is contained in the output to survdiff, namely objects n, obs, exp, chisq, and var, including descriptions of each.

  The number of degrees of freedom for the chisquare test is (#groups -1); both the obs and exp objects have one element per group.

        Terry Therneau mailing list PLEASE do read the posting guide and provide commented, minimal, self-contained, reproducible code. Received on Wed 16 May 2007 - 13:27:47 GMT

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.2.0, at Wed 16 May 2007 - 13:31:07 GMT.

Mailing list information is available at Please read the posting guide before posting to the list.