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

Description Usage Arguments Methods (by class) Examples

Description

Return a copy of the table with an additional loading added

Usage

1
2
3
4
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)

Examples

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

kainhofer/r-mortality-tables documentation built on Dec. 17, 2020, 3:53 a.m.