-
- Downloads
Add PVfactory R6Class to calculate present values in arbitrary dimensions
* Add an R6 class PVfactory that encapsulated Present Value-calculation in arbitrary dimensions (the older calculatePV* functions were hardcoded to a one-dimensional vector!) * Use the PVfactory instead of calculatePV* functions * Convert cost PV to use the multi-dimensional PVfactory code * Implement costs relative to benefits Implements #80
Showing
- NAMESPACE 1 addition, 0 deletionsNAMESPACE
- R/HelperFunctions.R 340 additions, 177 deletionsR/HelperFunctions.R
- R/InsuranceParameters.R 3 additions, 3 deletionsR/InsuranceParameters.R
- R/InsuranceTarif.R 73 additions, 47 deletionsR/InsuranceTarif.R
- man/initializeCosts.Rd 1 addition, 1 deletionman/initializeCosts.Rd
- tests/testthat/test-PVfactory.R 90 additions, 0 deletionstests/testthat/test-PVfactory.R
Loading
Please register or sign in to comment