Learn R Programming

MortalityTables (version 2.0.5)

getPeriodTable: Return the period life table as a mortalityTable.period object

Description

Return the period life table as a mortalityTable.period object

Usage

getPeriodTable(object, Period, ...)

# S4 method for mortalityTable getPeriodTable(object, Period, ...)

Arguments

object

The life table object (class inherited from mortalityTable)

Period

The observation year, for which the death probabilities should be determined. If missing, the base year of the table is used.

...

Other parameters (currently unused)

Methods (by class)

  • getPeriodTable(mortalityTable): Return the period life table as a mortalityTable.period object

Examples

Run this code
mortalityTables.load("Austria_Annuities")
tb17 = getPeriodTable(AVOe2005R.male, Period = 2017)
# The tb17 is a fixed table with no trend any more
plot(AVOe2005R.male, tb17, YOB = 1975)

Run the code above in your browser using DataLab