Learn R Programming

rstpm2 (version 1.6.5)

colon: Colon cancer.

Description

Diagnoses of colon cancer.

Usage

data(colon)

Arguments

Format

A data frame with 15564 observations on the following 13 variables.

sex

Sex (1=male, 2=female))

age

Age at diagnosis

stage

Clinical stage at diagnosis (1=Unknown, 2=Localised, 3=Regional, 4=Distant)

mmdx

Month of diagnosis

yydx

Year of diagnosis

surv_mm

Survival time in months

surv_yy

Survival time in years

status

Vital status at last contact (1=Alive, 2=Dead: cancer, 3=Dead; other, 4=Lost to follow-up)

subsite

Anatomical subsite of tumour (1=Coecum and ascending, 2=Transverse, 3=Descending and sigmoid, 4=Other and NOS)

year8594

Year of diagnosis (1=Diagnosed 75-84, 2=Diagnosed 85-94)

agegrp

Age in 4 categories (1=0-44, 2=45-59, 3=60-74, 4=75+)

dx

Date of diagnosis

exit

Date of exit

Details

Caution: there is a colon dataset in the survival package. We recommend using data(colon,package="rstpm2") to ensure the correct dataset is used.

Examples

Run this code
data(colon,package="rstpm2") # avoids name conflict with survival::colon
## maybe str(colon) ; ...

Run the code above in your browser using DataLab