[R] log rank test p value

Terry Therneau therneau at mayo.edu
Wed May 16 15:09:36 CEST 2007

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

More information about the R-help mailing list