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

Add value.start argument to pad0 and padArray

If we pad from the beginning, allow arbitrary padding values. The default 0 forces the vector to a numeric vector, so overriding is required e.g. to pad date vectors.

Also remove duplicate definition of padArray and sumPaddedArrays (already moved to HelperFunctions.R, so no need to duplicate inside InsuranceContract).
parent 5cf1aea4
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment