Skip to content
Snippets Groups Projects
Commit d12564a1 authored by Reinhold Kainhofer's avatar Reinhold Kainhofer
Browse files

Remove unused code

parent 59128a73
Branches
Tags
No related merge requests found
......@@ -191,7 +191,7 @@ setMethod("periodDeathProbabilities","valuationTable.trendProjection",
function (object, ..., Period=1975) {
qx=object@deathProbs * (1+object@loading);
if (is.null(object@trend2) || length(object@trend2)<=1) {
ages=0:(length(qx)-1);
# ages=0:(length(qx)-1);
damping=object@dampingFunction(Period-object@baseYear);
# print(data.frame(age=0:(length(qx)-1), trend=object@trend, exponent=-object@trend*damping, damping=damping, baseqx=qx, qx=exp(-object@trend*damping)*qx)[66:90,]);
finalqx=exp(-object@trend*damping)*qx;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment