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