Description Usage Arguments Examples
View source: R/utilityFunctions.R
Scale all probabilities of the given mortalityTable
object(s) by the given factor
1 | mT.scaleProbs(table, factor = 1, name.postfix = "scaled", name = NULL)
|
table |
A life table object (instance of a |
factor |
Scaling factor for the probabilities (1.0 means unchanged) |
name.postfix |
String to append to the original name of the table |
name |
New name, overwriting the existing name of the table (takes precedence over |
1 2 | mortalityTables.load("Austria_Annuities")
mT.scaleProbs(AVOe2005R.male, 1.5) # Add 50% to all death probabilities of the table
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.