- 30 Mar, 2018 3 commits
-
-
Reinhold Kainhofer authored
-
Reinhold Kainhofer authored
-
Reinhold Kainhofer authored
Rename haveAges -> givenAges, needAges -> neededAges in fillAges; Fix ifelse problem (vectorized, so we need to use if instead to return a vector); add missing age parameter to transitionProbabilities
-
- 28 Mar, 2018 2 commits
-
-
Reinhold Kainhofer authored
-
Reinhold Kainhofer authored
All probs will be intersected with the desired ages, missing values will be filled with NA
-
- 23 Mar, 2018 2 commits
-
-
Reinhold Kainhofer authored
-
Reinhold Kainhofer authored
-
- 13 Mar, 2018 1 commit
-
-
Reinhold Kainhofer authored
plotMortalityTAbleComparisons: Add ages, legend.justification arguments; disable x-axis breaks (i.e. let R choose the proper labels)
-
- 06 Mar, 2018 1 commit
-
-
Reinhold Kainhofer authored
-
- 05 Mar, 2018 1 commit
-
-
Reinhold Kainhofer authored
pensionTable: Commutation numbers need to take retirement probabilities for actives into account; remove "g" state for total portfolio and replace by OverallMortality argument
-
- 03 Mar, 2018 3 commits
-
-
Reinhold Kainhofer authored
Fix error: use subset function rather than filter from dplyr (which is not a dependency); Style fixes
-
Reinhold Kainhofer authored
plotMortalityTables: Re-format (style); ignore qx==0; add legend.justification as argument; Remove pathetic attempt at being smarter than R for x-axis breaks
-
Reinhold Kainhofer authored
commutationNumbers: Fix missing qx assignment; pension tables need to add qx and ix probabilities for actives
-
- 08 Feb, 2018 2 commits
-
-
Reinhold Kainhofer authored
properly use colour and shape in ggplot so that one can later on add different mortality tables / QxDataFrame without messing up the aesthetics
-
Reinhold Kainhofer authored
-
- 04 Feb, 2018 4 commits
-
-
Reinhold Kainhofer authored
-
Reinhold Kainhofer authored
-
Reinhold Kainhofer authored
-
Reinhold Kainhofer authored
Add commutationNumbers function to calculate commutation numbers lx, dx, Dx, Nx, Sx, Cx, Mx, Rx for a given mortality table or vector of death probabilities
-
- 13 Sep, 2017 6 commits
-
-
Reinhold Kainhofer authored
- Remove apix (pension transition of invalids) and replace it by a invalids.retire flag in the class (default FALSE) - Allow the Period argument to transitionProbabilities (=> calls periodTransitionProbabilities) - Allow overriding invalids.retire in the call to transitionProbabilities - Add a retirement argument (number or mortalityTable) to transitionProbabilities to override the retirement age given in the pension table - fix RP2014 improvement factors (young ages are included in improvments, but not in base probabilities)
-
Reinhold Kainhofer authored
-
Reinhold Kainhofer authored
-
Reinhold Kainhofer authored
-
Reinhold Kainhofer authored
-
Reinhold Kainhofer authored
- Add function calculateImprovements to obtain the cumulated improvements for each age (for given period or birth year) - Implement American RP 2014 (death probabilities only, no disability)
-
- 11 Sep, 2017 10 commits
-
-
Reinhold Kainhofer authored
-
Reinhold Kainhofer authored
-
-
Reinhold Kainhofer authored
- Document pensionTAble in readme - remove wildcard reference - Remove non-ascii characters - Break long lines - document undocumented function parameters
-
Reinhold Kainhofer authored
- Document pensionTAble in readme - remove wildcard reference - Remove non-ascii characters - Break long lines - document undocumented function parameters
-
Reinhold Kainhofer authored
Fix plotting mortality trends (leave out reference if not given, otherwise the code will try to access NULL)
-
Reinhold Kainhofer authored
-
Reinhold Kainhofer authored
CRAN requires examples for all functions => Start adding them. Export and document deathProbabilitiesIndividual and periodDeathProbabilitiesIndividual
-
Reinhold Kainhofer authored
-
Reinhold Kainhofer authored
mortalityTable.joined and mortalityTable.observed are not fully implemented, so comment out all occurrences
-
- 10 Sep, 2017 4 commits
-
-
Reinhold Kainhofer authored
-
Reinhold Kainhofer authored
This new argument allows the generic plog.mortalityTable to call plotMortalityTrend, if not set (or set to anything other than TRUE), the mortalities / death probabilities are plotted.
-
Reinhold Kainhofer authored
-
Reinhold Kainhofer authored
- mortalityTable.deMoivre(omega) - mortalityTable.MakehamGompertz(A, B, c) - mortalityTable.Weibull(k, n)
-
- 04 Sep, 2017 1 commit
-
-
Reinhold Kainhofer authored
New function plotMortalityTrend to plot the yearly mortality improvements of multiple tables (either for a given period or a given generation)
-