Commit 554c2979 authored by Reinhold Kainhofer's avatar Reinhold Kainhofer
Browse files

Revert setting gamma_nopremiums in initializeCosts when gamma is set.

parent 07dea12d
......@@ -119,15 +119,15 @@ initializeCosts = function(costs, alpha, Zillmer, beta, gamma, gamma.paidUp, gam
}
if (!missing(gamma.contract)) {
costs = setCost(costs, "gamma", "SumInsured", "PolicyPeriod", gamma.contract)
costs = setCost(costs, "gamma_nopremiums", "SumInsured", "PolicyPeriod", gamma.contract)
# costs = setCost(costs, "gamma_nopremiums", "SumInsured", "PolicyPeriod", gamma.contract)
}
if (!missing(gamma.afterdeath)) {
costs = setCost(costs, "gamma", "SumInsured", "AfterDeath", gamma.afterdeath)
costs = setCost(costs, "gamma_nopremiums", "SumInsured", "AfterDeath", gamma.afterdeath)
# costs = setCost(costs, "gamma_nopremiums", "SumInsured", "AfterDeath", gamma.afterdeath)
}
if (!missing(gamma.fullcontract)) {
costs = setCost(costs, "gamma", "SumInsured", "FullContract", gamma.fullcontract)
costs = setCost(costs, "gamma_nopremiums", "SumInsured", "FullContract", gamma.fullcontract)
# costs = setCost(costs, "gamma_nopremiums", "SumInsured", "FullContract", gamma.fullcontract)
}
if (!missing(unitcosts)) {
costs = setCost(costs, "unitcosts", "Constant", "PremiumPeriod", unitcosts)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment