Learn R Programming

coin (version 1.4-3)

ocarcinoma: Ovarian Carcinoma

Description

Survival times of 35 women suffering from ovarian carcinoma at stadium II and IIA.

Usage

ocarcinoma

Arguments

Format

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.

Details

Data from Fleming et al. (1980) and Fleming, Green and Harrington (1984). Reanalysed in Schumacher and Schulgen (2002).

References

Schumacher, M. and Schulgen, G. (2002). Methodik Klinischer Studien: Methodische Grundlagen der Planung, Durchführung und Auswertung. Heidelberg: Springer.

Examples

Run this code
## 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