ages: Return the defined ages of the life table

agesR Documentation

Return the defined ages of the life table

Description

Return the defined ages of the life table

Usage

ages(object, ...)

## S4 method for signature 'mortalityTable.period'
ages(object, ...)

## S4 method for signature 'mortalityTable.mixed'
ages(object, ...)

## S4 method for signature 'mortalityTable.jointLives'
ages(object, ...)

## S4 method for signature 'mortalityTable.observed'
ages(object, ...)

Arguments

object

A life table object (instance of a mortalityTable class)

...

Currently unused

Methods (by class)

  • ages(mortalityTable.period): Return the defined ages of the period life table

  • ages(mortalityTable.mixed): Return the defined ages of the mixed life table

  • ages(mortalityTable.jointLives): Return the defined ages of the joint lives mortality table (returns the ages of the first table used for joint lives)

  • ages(mortalityTable.observed): Return the defined ages of the observed life table

Examples

mortalityTables.load("Austria_Annuities")
ages(AVOe2005R.male)
ages(AVOe1996R.male)

mortalityTables.load("Austria_Census")
ages(mort.AT.census.2011.male)


MortalityTables documentation built on Nov. 2, 2023, 5:52 p.m.