data_array_country: Sample mortality data stratified by country

Ext_array_countryR Documentation

Sample mortality data stratified by country

Description

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).

Usage

data("Ext_array_country")

data("dxt_array_country")

Format

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:

Strata

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.

Ages

Numeric. Ages at deaths, ranging between 0-95.

Years

Numeric. Years at deaths, spanning years 1951-2000.

Examples

##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)]


BayesMoFo documentation built on Aug. 11, 2025, 1:07 a.m.