mortalityTable-class: Class mortalityTable

Description Slots

Description

Class mortalityTable is the (virtual) base class for all mortality tables. It contains the name and some general values applying to all types of tables, but does not contain any data itself. Use a child class to create actual mortality tables.

Slots

name

The human-readable name of the mortality table

baseYear

The base year of the mortality table (e.g. for tables with trend projection)

modification

A function that will be called with the final death probabilities to give the user a way to modify the final probabilities

loading

Additional security loading on the resulting table (single numeric value, e.g. 0.05 adds 5% security margin to the probabilities)


kainhofer/r-mortality-tables documentation built on May 18, 2017, 3:07 p.m.