1. 24 Mar, 2020 2 commits
  2. 20 Mar, 2020 1 commit
  3. 15 Mar, 2020 1 commit
  4. 14 Mar, 2020 1 commit
  5. 13 Mar, 2020 1 commit
  6. 12 Mar, 2020 1 commit
  7. 11 Mar, 2020 2 commits
  8. 10 Mar, 2020 3 commits
    • Kainhofer Reinhold's avatar
      implement invalidityEndsContract flag (default TRUE) · 5d86b8d0
      Kainhofer Reinhold authored
      If this flag is set (default), the contract ends when invalidity happens, i.e. the survival probability of the contract is
         px = 1 - qx - ix
      If the flag is set to FALSE, a dread-disease/disability/morbidity claim is paid with propbability ix, but the contract continues, potentially paying our further disease claims in the future
      5d86b8d0
    • Reinhold Kainhofer's avatar
      Dynamics: Allow overriding parameters for the new dynamic block · 4461335a
      Reinhold Kainhofer authored
      Simply use the arguments passed to override the arguments inherited from the parent block (including already adjusted contract/premium/deferral terms). The arguments passed to addDynamics MUST be named, otherwise they will be ignored
      4461335a
    • Reinhold Kainhofer's avatar
      properly finish dynamics (and insurance blocks starting at a later time) · e5c02eed
      Reinhold Kainhofer authored
      -) Properly handly blockStart time (only used by parent). The child block will always start from 0, which is then shifted by the parent block's consolidateValues function. This removes a lot of complexity (previously, I though it would make sense to implement in each child block that it starts at a later time and fill all data.frames with 0 until the block start...)
      -) Properly implement premium waiver with the new calculateContract function => Simplifies code a lot
      e5c02eed
  9. 09 Mar, 2020 2 commits
  10. 06 Mar, 2020 1 commit
  11. 05 Mar, 2020 2 commits
    • Reinhold Kainhofer's avatar
      configurable history entries; fix errors; cleanup code; First shot at using... · 87489ce1
      Reinhold Kainhofer authored
      configurable history entries; fix errors; cleanup code; First shot at using generic calculateContract function for premium waivers, too
      87489ce1
    • Reinhold Kainhofer's avatar
      Implement dynamic increases (and more general, sub-blocks of contracts,... · 41508827
      Reinhold Kainhofer authored
      Implement dynamic increases (and more general, sub-blocks of contracts, potentially with different parameters)
      
      -) Rearrange InsuranceContract to split functions into public and private functions
      -) InsuranceContract: Return invisible(self) in as many functions as possible...
      -) Implement InsuranceContract$addBlock and InsuranceContract$addDynamics to add new sub-blocks to the contract
      -) Properly implement consolidating values from child blocks (parent blocks have some values like unit cash flows erased, as they do not make sense!)
      -) Add contract/block id to assign each block a readable, unique ID
      -) Extend exportInsuranceContract.xlsx to export the data.frames of the contract and all sub-blocks (not yet finished, in particular overview page and PV with premium calculation)
      -) Write out values for  all contract blocks to Excel
      -) history entry for dynamic increases
      -) translate Excel export
      -) Excel export: Make cost table generic (loop through all contract blocks)
      -) Fix some UTF-8 issues in Windows
      -) Export to Excel: Clean table names; clean endowment example; Rebuild docs
      
      Fixes issue #35, relates #48.
      41508827
  12. 02 Mar, 2020 1 commit
  13. 01 Mar, 2020 1 commit
    • Kainhofer Reinhold's avatar
      Dynamics step 1: Implement blockStart argument · 5126bda5
      Kainhofer Reinhold authored
      -) All cashflows and present values will start at time 'start' rather than at 0. This can be used to implement dynmics, etc.
      -) What is not yet implemented is to combine multiple tariff blocks into one single contract
      5126bda5
  14. 21 Feb, 2020 1 commit
  15. 17 Feb, 2020 2 commits
  16. 12 Nov, 2019 1 commit
  17. 23 Aug, 2019 1 commit
  18. 18 Mar, 2019 6 commits
  19. 17 Mar, 2019 3 commits
  20. 25 Feb, 2019 2 commits
  21. 15 Feb, 2018 1 commit
    • Reinhold Kainhofer's avatar
      * Update to latest roxygen · 7abb99a5
      Reinhold Kainhofer authored
      * fix R warnings about missing functions / wrong package loading; Add namespace to certain calls
      * Fix Zillmer premium
      * Add DocStrings
      7abb99a5
  22. 08 Jan, 2017 2 commits
  23. 02 Jan, 2017 1 commit
  24. 01 Jan, 2017 1 commit