Learn R Programming

MortalityTables (version 2.0.5)

getOmega: Return the maximum age of the life table

Description

Return the maximum age of the life table

Usage

getOmega(object)

# S4 method for mortalityTable.period getOmega(object)

# S4 method for mortalityTable.mixed getOmega(object)

# S4 method for mortalityTable.jointLives getOmega(object)

# S4 method for mortalityTable.observed getOmega(object)

Arguments

object

A life table object (instance of a mortalityTable class)

Methods (by class)

  • getOmega(mortalityTable.period): Return the maximum age of the period life table

  • getOmega(mortalityTable.mixed): Return the maximum age of the mixed life table

  • getOmega(mortalityTable.jointLives): Return the maximum age of the joint lives mortality table (returns the maximum age of the first table used for joint lives, as the ages of the joint lives are now known to the function)

  • getOmega(mortalityTable.observed): Return the maximum age of the life table

Examples

Run this code
mortalityTables.load("Austria_Annuities")
getOmega(AVOe2005R.male)
getOmega(mortalityTable.deMoivre(omega = 100))

Run the code above in your browser using DataLab