Learn R Programming

biostat3 (version 0.2.3)

colon_sample: Sample from the colon dataset used for teaching.

Description

Sample from the colon dataset, which describes survival after a diagnosis of colon cancer.

Usage

data("colon_sample")

Arguments

Format

A data frame with 35 observations on the following 9 variables.

sex

a factor with levels Male Female

age

a numeric vector age at diagnosis in years

stage

a factor with levels Unknown Localised Regional Distant

mmdx

a numeric vector month of diagnosis (1-12)

yydx

a numeric vector year of diagnosis

surv_mm

a numeric vector time from diagnosis to exit (months)

surv_yy

a numeric vector time from diagnosis to exit (years)

status

a factor with levels Alive Dead: cancer Dead: other Lost to follow-up

subsite

a factor with levels Coecum and ascending Transverse Descending and sigmoid Other and NOS

Examples

Run this code
data(colon_sample)
## maybe str(colon_sample) ; plot(colon_sample) ...

Run the code above in your browser using DataLab