Ext_array_country | R Documentation |
This is a sample data set used for demonstration purposes. They consist of two 3-dimensional arrays, one for number of deaths (dxt_array_country
) and another for the the corresponding central exposures to risk (Ext_array_country
).
data("Ext_array_country")
data("dxt_array_country")
An object of class array
of dimension 5 x 96 x 50.
A 3-dimensional data array (dim 1: strata, dim 2: ages, dim 3: years) containing 5 countries, 96 ages, and 50 years:
Character. Indicate the country (in total 5) origin of the data, labelled as:
"AUS"
: Australia;
"ITALY"
: Italy;
"JAPAN"
: Japan;
"UK"
: United Kingdom ;
"US"
: United States.
Numeric. Ages at deaths, ranging between 0-95.
Numeric. Years at deaths, spanning years 1951-2000.
##Load exposure data
data("Ext_array_country")
str(Ext_array_country)
head(Ext_array_country)
#extracting a subset of the data (2 countries, ages 0-90, years 1961-2000)
Ext_array_country[c("AUS","JAPAN"),as.character(0:90),as.character(1961:2000)]
##Load death data
data("dxt_array_country")
str(dxt_array_country)
head(dxt_array_country)
#extracting a subset of the data (2 countries, ages 0-90, years 1961-2000)
dxt_array_country[c("AUS","JAPAN"),as.character(0:90),as.character(1961:2000)]
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.