Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
L
LifeInsureR package for R
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Model registry
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
R
LifeInsureR package for R
Commits
44877a21
Commit
44877a21
authored
5 years ago
by
Reinhold Kainhofer
Browse files
Options
Downloads
Patches
Plain Diff
IMprove file structure view (marked-up comments for RStudio)
parent
58d603ec
No related branches found
No related tags found
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
R/InsuranceParameters.R
+1
-1
1 addition, 1 deletion
R/InsuranceParameters.R
R/InsuranceTarif.R
+3
-0
3 additions, 0 deletions
R/InsuranceTarif.R
inst/Beispiele/Example_Endowment.R
+1
-1
1 addition, 1 deletion
inst/Beispiele/Example_Endowment.R
with
5 additions
and
2 deletions
R/InsuranceParameters.R
+
1
−
1
View file @
44877a21
...
...
@@ -77,7 +77,7 @@ InsuranceContract.Values = list(
premiumComposition
=
NULL
);
# InsuranceContract.ParameterDefault #######################################
#' Default parameters for the InsuranceContract class. A new contract will be
#' pre-filled with these values, and values passed in the constructor (or with
#' other setter functions) will override these values.
...
...
This diff is collapsed.
Click to expand it.
R/InsuranceTarif.R
+
3
−
0
View file @
44877a21
...
...
@@ -10,6 +10,7 @@ NULL
TariffTypeEnum
=
objectProperties
::
setSingleEnum
(
"TariffType"
,
levels
=
c
(
"annuity"
,
"wholelife"
,
"endowment"
,
"pureendowment"
,
"terme-fix"
,
"dread-disease"
,
"endowment + dread-disease"
))
############ Class InsuranceTarif ###########################################
#' Base class for Insurance Tarifs, providing calculation functions to the contract
#'
#' This is a base class for holding contract-independent values and
...
...
@@ -22,6 +23,8 @@ TariffTypeEnum = objectProperties::setSingleEnum("TariffType", levels = c("annui
#' @export
InsuranceTarif
=
R6Class
(
"InsuranceTarif"
,
######################### PUBLIC METHODS ##################################
public
=
list
(
name
=
"Insurance Contract Type"
,
tarif
=
NULL
,
...
...
This diff is collapsed.
Click to expand it.
inst/Beispiele/Example_Endowment.R
+
1
−
1
View file @
44877a21
...
...
@@ -56,7 +56,7 @@ Tarif.Bsp = InsuranceTarif$new(
);
################################################################### #
#
EXAMPLE CONTRACT
####
#
Example contract with dynamiocs
####
################################################################### #
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment