- 04 Sep, 2017 6 commits
-
-
Reinhold Kainhofer authored
Add function mortalityImprovement to calculate age-specific yearly log-mortality improvements (aka. mortality trends)
-
Reinhold Kainhofer authored
-
Reinhold Kainhofer authored
- mortalityTables.list and mortalityTables.load can be given multiple packages (defaults to "MortalityTables" and "MortalityTablesPrivate") - mortalityTables.load supports wildcards in its default call (no need for the wildcard=TRUE argument) Move anwartschaften.R to the pensionstafel project (forgot to update build system)
-
Reinhold Kainhofer authored
-
Reinhold Kainhofer authored
-
Reinhold Kainhofer authored
-
- 30 Aug, 2017 4 commits
-
-
Reinhold Kainhofer authored
- add periodTransitionProbabilities (and use it in anwartschaften) - add pensionTableProbArrange to build the return data.frame or list for transitionProbabilities
-
Reinhold Kainhofer authored
-
Reinhold Kainhofer authored
-
Reinhold Kainhofer authored
-
- 27 Aug, 2017 1 commit
-
-
Reinhold Kainhofer authored
- mortalityTable.zeroes: Generate a mortality table with all zero transition probabilities - mortalityTable.once: Generates a (deterministic) mortality table with one transition at a given age - pensionTables.list: Lists all pension tables (similar to mortalityTables.list) - pensionTables.load: Load a provided pension table (similar to mortalityTables.load) - transitionProbabilities: Obtain data.frame containing all transition probabilities for a pension table (given the YOB) - anwartschaften: First attempt to calculate all "Anwartschaften" for a given pensionTable - WORK IN PROGRESS, NOT FINISHED
-
- 26 Aug, 2017 1 commit
-
-
Reinhold Kainhofer authored
-
- 28 Dec, 2016 3 commits
-
-
Reinhold Kainhofer authored
-
Reinhold Kainhofer authored
-
Reinhold Kainhofer authored
-
- 27 Dec, 2016 1 commit
-
-
Reinhold Kainhofer authored
Allow one table or a list of tables to be passed as the table argument to mortalityTable.jointLives. This allows different insured to have different life tables (e.g. male + female)
-
- 05 Dec, 2016 1 commit
-
-
Reinhold Kainhofer authored
Joint life tables (on first death) for now have a maximum age taken from the first insured person (i.e. the first table). The reason is a purely technical one: The ages of the insured are not part of the table, so the getOmega function does not know any ages. Only the deathProbabilities function gets the actual ages. This makes it impossible to create tables, where e.g. the last value is repeated as needed. Instead, we will always cut off the table at the maximum age of the table for the first insured person.
-
- 27 Nov, 2016 1 commit
-
-
Reinhold Kainhofer authored
The different insured persons are identified by their age difference to the first insured. Different base tables for each insured can be given, by default the same table is used for all insured persons.
-
- 15 Nov, 2016 2 commits
-
-
Reinhold Kainhofer authored
-
Reinhold Kainhofer authored
-
- 13 Oct, 2016 5 commits
-
-
https://gitlab.open-tools.net/R/r-mortality-tablesReinhold Kainhofer authored
# Conflicts: # R/mortalityComparisonTable.R # man/mortalityComparisonTable.Rd
-
Reinhold Kainhofer authored
-
Reinhold Kainhofer authored
-
Reinhold Kainhofer authored
-
Reinhold Kainhofer authored
Add mortalityComparisonTable to create a nice table showing the relative mortalities for age groups and various birth years
-
- 21 Sep, 2016 4 commits
-
-
Reinhold Kainhofer authored
-
Reinhold Kainhofer authored
-
Reinhold Kainhofer authored
extend mortalityTables.load and mortalityTables.list by a "package" argument to allow loading sample data from other packages
-
Reinhold Kainhofer authored
-
- 13 Sep, 2016 2 commits
-
-
-
Reinhold Kainhofer authored
The mortalityTAbles.list and mortalityTables.load functions now have an additional parameter package, where one can give a third-party package that holds the dataset in extdata/MortalityTables_....R
-
- 12 Sep, 2016 1 commit
-
-
Reinhold Kainhofer authored
-
- 07 Sep, 2016 3 commits
-
-
Reinhold Kainhofer authored
CRAN requires that all parameters from the function signature (and only those parameters, no others!) are documented. If we want to document other parameters that are matched by ..., then one cannot use @param. So we simply created a nested list and explicitly list those params in a describe list.
-
Reinhold Kainhofer authored
-
Reinhold Kainhofer authored
-
- 04 Sep, 2016 3 commits
-
-
Reinhold Kainhofer authored
-
Reinhold Kainhofer authored
Also rename the classes to mortalityTable.*
-
Reinhold Kainhofer authored
-
- 03 Sep, 2016 2 commits
-
-
Reinhold Kainhofer authored
-
Reinhold Kainhofer authored
-