Learn R Programming

ROCt (version 0.9.5)

fr.ratetable:

Description

An object of class ratetable for the expected mortality of the French population. It is an array with three dimensions: age, sex and year.

Usage

data(fr.ratetable)

Arguments

Format

The format is "ratetable". The attributes are:
dim
A numeric vector with the length of each dimension.
dimnames
A list of vectors with the names of each variable of the three dimensions.
dimid
A character vector with the identification of the dimensions: age, year and sex.
factor
A vector of indicators=1 if the corresponding dimension do not vary according to the time. Only the sex is associated to 1.
cutpoints
A list of the thresholds to identify the mortality rates according to the time-varying dimensions (NULL for sex).
class
The class of the object: ratetable.

Details

The organization of a ratetable object is described in details by Therneau (1999) and Pohar (2006). The original data and updates can be downloaded from the Human Life-Table Database (HMD, The Human Mortality Database).

References

Pohara M., Stare J. Relative survival analysis in R. Computer methods and programs in biomedicine, 81: 272-278, 2006. <doi:10.1016/j.cmpb.2006.01.004>

Examples

Run this code
data(fr.ratetable)

is.ratetable(fr.ratetable)

Run the code above in your browser using DataLab