Survival times of 35 women suffering from ovarian carcinoma at stadium II and IIA.
ocarcinoma
A data frame with 35 observations on 3 variables.
time
time (days).
stadium
a factor with levels "II"
and "IIA"
.
event
status indicator for time
: FALSE
for right-censored
observations and TRUE
otherwise.
Data from Fleming et al. (1980) and Fleming, Green and Harrington (1984). Reanalysed in Schumacher and Schulgen (2002).
Schumacher, M. and Schulgen, G. (2002). Methodik Klinischer Studien: Methodische Grundlagen der Planung, Durchf<U+00FC>hrung und Auswertung. Heidelberg: Springer.
# 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