View source: R/utilityFunctions.R
mT.scaleProbs | R Documentation |
mortalityTable
object(s) by the given factorScale all probabilities of the given mortalityTable
object(s) by the given factor
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 |
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.