[R] p-value of Logrank-Test

Verena Hoffmann verena.s.hoffmann at web.de
Tue Jan 3 22:03:04 CET 2006


I want to compare two Kaplan-Meier-Curves by using the Logrank-Test:

logrank(Surv(time[b], status[b]) ~ group[b])

This way I only get the value of the test-statistic, but not the p-value.

Does anybody know how I can get the p-value?

Thanks in advance!

Verena Hoffmann

More information about the R-help mailing list