View source: R/utilityFunctions.R
mT.setTrend | R Documentation |
mortalityTable
object(s). Returns a mortalityTable.trendProjection
objectSet/Add a trend vector for the probabilities of the given mortalityTable
object(s). Returns a mortalityTable.trendProjection
object
mT.setTrend(
table,
trend,
trendages = NULL,
baseYear = NULL,
dampingFunction = identity
)
mT.addTrend(
table,
trend,
trendages = NULL,
baseYear = NULL,
dampingFunction = identity
)
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 |
mT.addTrend()
: Add a trend to the mortality table (returns a mortalityTable.trendProjection obect)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.