powered by
A dataset on cancer survival checking whether there is a survival difference between cancer patients in private and public hospitals.
data(Compaq)
A data frame with 1064 observations on the following 7 variables.
id
a numeric vector
hospital
a factor with levels Public hospital Private hospital
Public hospital
Private hospital
status
stage
a factor with levels Stage 1 Stage 2 Stage 3 Stage 4
Stage 1
Stage 2
Stage 3
Stage 4
agegr
a factor with levels <40 40-49 50-59 60+
<40
40-49
50-59
60+
ses
a factor with levels Rich High-middle Poor-middle Poor
Rich
High-middle
Poor-middle
Poor
year
a numeric vector indicating the year of recruitment into the study
# NOT RUN { data(Compaq) des(Compaq) # }
Run the code above in your browser using DataLab