| ocarcinoma | R Documentation |
Survival times of 35 women suffering from ovarian carcinoma at stadium II and IIA.
ocarcinoma
A data frame with 35 observations on 3 variables.
timetime (days).
stadiuma factor with levels "II" and "IIA".
eventstatus indicator for time: FALSE for right-censored
observations and TRUE otherwise.
Data from \bibcitetcoin::Fleming_1984 and \bibcitetcoin::Fleming_1980 were reanalysed by \bibcitetcoin::SchumacherSchulgen2002.
*
## Exact logrank test
lt <- logrank_test(Surv(time, event) ~ stadium, data = ocarcinoma,
distribution = "exact")
## Test statistic
statistic(lt)
## P-value
pvalue(lt)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.