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

______________________________________________
[email protected] mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

Reply via email to