setLoading {MortalityTables} | R 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 |
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)
[Package MortalityTables version 2.0.5 Index]