Learn R Programming

timereg (version 2.0.1)

mela.pop: Melanoma data and Danish population mortality by age and sex

Description

Melanoma data with background mortality of Danish population.

Arguments

Format

This data frame contains the following columns:

id

a numeric vector. Gives patient id.

sex

a numeric vector. Gives sex of patient.

start

a numeric vector. Gives the starting time for the time-interval for which the covariate rate is representative.

stop

a numeric vector. Gives the stopping time for the time-interval for which the covariate rate is representative.

status

a numeric vector code. Survival status. 1: dead from melanoma, 0: alive or dead from other cause.

age

a numeric vector. Gives the age of the patient at removal of tumor.

rate

a numeric vector. Gives the population mortality for the given sex and age. Based on Table A.2 in Andersen et al. (1993).

Examples

Run this code
# NOT RUN {
data(mela.pop)
names(mela.pop)
# }

Run the code above in your browser using DataLab