# NOT RUN {
## Exact logrank test
lt <- logrank_test(Surv(time, event) ~ stadium, data = ocarcinoma,
distribution = "exact")
## Test statistic
statistic(lt)
## P-value
pvalue(lt)
# }
Run the code above in your browser using DataLab