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

export the pad0 function

parent 07818a9a
Branches
Tags
No related merge requests found
......@@ -9,6 +9,7 @@ export(InsuranceTarif)
export(ProfitParticipation)
export(exportInsuranceContract.xlsx)
export(initializeCosts)
export(pad0)
import(MortalityTables)
import(R6)
import(abind)
......
......@@ -141,6 +141,7 @@ correctionPaymentFrequency = function(m = 1, i = self$i, order = 0) {
list(alpha=alpha, beta=beta);
}
#' @export
pad0 = function(v, l, value=0) {
if (l>=length(v)) {
c(v, rep(value, l-length(v)))
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment