setLoading: Return a copy of the table with an additional loading added

setLoadingR Documentation

Return a copy of the table with an additional loading added

Description

Return a copy of the table with an additional loading added

Usage

setLoading(object, loading = 0)

## S4 method for signature 'mortalityTable'
setLoading(object, loading = 0)

Arguments

object

A life table object (instance of a mortalityTable class)

loading

The additional (security) loading to be added to the table.

Methods (by class)

  • setLoading(mortalityTable): Return the life table with the given loading set

Examples

mortalityTables.load("Austria_Census")
# Austrian census mortality 2011 reduced by 30%
setLoading(mort.AT.census.2011.male, loading = -0.3)


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