mT.setTrend {MortalityTables} | R Documentation |
Set/Add a trend vector for the probabilities of the given mortalityTable
object(s). Returns a mortalityTable.trendProjection
object
Description
Set/Add a trend vector for the probabilities of the given mortalityTable
object(s). Returns a mortalityTable.trendProjection
object
Usage
mT.setTrend(
table,
trend,
trendages = NULL,
baseYear = NULL,
dampingFunction = identity
)
mT.addTrend(
table,
trend,
trendages = NULL,
baseYear = NULL,
dampingFunction = identity
)
Arguments
table |
A life table object (instance of a |
trend |
Trend vector to be applied to the mortality table |
trendages |
Ages corresponding to the values of the |
baseYear |
Base year for the trend projection (passed on to |
dampingFunction |
Trend damping (passed on to |
Functions
-
mT.addTrend()
: Add a trend to the mortality table (returns a mortalityTable.trendProjection obect)
[Package MortalityTables version 2.0.5 Index]