Learn R Programming

MortalityTables (version 2.0)

ages: Return the defined ages of the life table

Description

Return the defined ages of the life table

Usage

ages(object, ...)

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

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

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

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

Arguments

object

A life table object (instance of a '>mortalityTable class)

...

Currently unused

Methods (by class)

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

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

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

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

Examples

Run this code
# NOT RUN {
mortalityTables.load("Austria_*")
ages(AVOe2005R.male)
ages(AVOe1996R.male)
ages(mort.AT.census.2011.male)

# }

Run the code above in your browser using DataLab