Ext_array_product | 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_product
) and another for the the corresponding central exposures to risk (Ext_array_product
).
data("Ext_array_product")
data("dxt_array_product")
An object of class array
of dimension 4 x 83 x 5.
A 3-dimensional data array (dim 1: strata, dim 2: ages, dim 3: years) with 4 strata (products), 83 ages, and 5 years:
Character. Names of the insurance products considered in the dataset. There are in total 4 products:
"ACI"
: ;
"DB"
: ;
"SCI"
: ;
"Annuities"
: Note that this product contains a lot of missing values.
Numeric. Ages at claims, ranging between 18-100.
Numeric. Years at claims, spanning years 2016-2020.
##Load exposure data
data("Ext_array_product")
str(Ext_array_product)
head(Ext_array_product)
#extracting a subset of the data (3 products, ages 35-65, years 2016-2020)
Ext_array_product[c("ACI","DB","SCI"),as.character(35:65),as.character(2016:2020)]
##Load death data
data("dxt_array_product")
str(dxt_array_product)
head(dxt_array_product)
#extracting a subset of the data (3 products, ages 35-65, years 2016-2020)
dxt_array_product[c("ACI","DB","SCI"),as.character(35:65),as.character(2016:2020)]
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.