data.Belgian.lung.cancer {apc} | R Documentation |
Belgian lung cancer data
Description
Function that organises Belgian lung cancer data in apc.data.list
format.
The data set is taken from table VIII of Clayton and Schifflers (1987a), which contains age-specific incidence rates (per 100,000 person-years observation) of lung cancer in Belgian females during the period 1955-1978. Numerators are also available. The original source was the WHO mortality database.
The data set is in "AP"-format. The original data set is unbalanced since the first four period groups cover 5 years, while the last covers 4 years. The primary data set has 4 period groups, which is obtained when using the function without arguments or with argument unbalanced=FALSE
. The secondary data set has 5 uneven sized period groups, wwhich is obtained when using the function with argument unbalanced=TRUE
. The apc.package
is at present not aimed at such unbalanced data.
Usage
data.Belgian.lung.cancer(unbalanced = FALSE)
Arguments
unbalanced |
logical. If TRUE (default), the last 4-year group column of the data is ignored. |
Value
The value is a list in apc.data.list
format.
rates |
matrix of mortality rates. This is not needed for the |
response |
matrix of cases |
dose |
matrix of cases/rates |
data.format |
logical equal to "AP". Data organised with age-groups in rows and period-groups in columns. |
age1 |
numeric equal to 25. This is the label for the first age group covering ages 25-29. |
per1 |
numeric equal to 1955. This is the label for the first period group covering period 1955-1959. |
coh1 |
NULL. Not needed when data.format="AP" |
unit |
numeric equal to 5. This is the width of the age and period groups. |
per.zero |
NULL. Not needed when data.format="AP" |
per.max |
NULL. Not needed when data.format="AP" |
time.adjust |
0. Thus age=25 in period=1955 corresponds to cohort=1955-25+0=1930, and indeed the centers of the age and period groups, that is age=27 and period=1957 translate into cohort=1957-27+0=1930. |
label |
character. "Belgian lung cancer". |
Author(s)
Bent Nielsen <bent.nielsen@nuffield.ox.ac.uk> 8 Sep 2015 (24 Oct 2013)
Source
Table VIII of Clayton and Schifflers (1987a).
References
Clayton, D. and Schifflers, E. (1987a) Models for temperoral variation in cancer rates. I: age-period and age-cohort models. Statistics in Medicine 6, 449-467.
See Also
General description of apc.data.list
format.
Examples
#########################
## It is convient to construct a data variable
data <- data.Belgian.lung.cancer()
## To see the content of the data
data