[R] logrank test

Marc Schwartz marc_schwartz at comcast.net
Tue May 1 18:01:47 CEST 2007


On Tue, 2007-05-01 at 08:34 -0700, raymond chiruka wrote:
> how do l programme the logrank test. l am trying to compare 2 survival curves


See:

library(survival)
?survdiff

and take note of the 'rho' argument, which when set to 0 is the logrank
test.

HTH,

Marc Schwartz



More information about the R-help mailing list