buildContributionP3path: buildContributionP3path

View source: R/core.R

buildContributionP3pathR Documentation

buildContributionP3path

Description

Build the contribution path for a standard pension fund, called 3rd Pillar in Switzerland. Based on 'calcAnnuityAcumPath()'.

Usage

buildContributionP3path(birthday, P3purchase, CurrentP3, returnP3,
  givenday = today("UTC"), RetirementAge)

Arguments

birthday

Date of birth ("YYYY-MM-DD").

P3purchase

Annual voluntary contribution to the Private Fund (3rd Pillar).

CurrentP3

Value of the current assets in the Private Fund (3rd Pillar).

returnP3

Annual expected return on the Private Fund.

givenday

Date at which the age is computed ("YYYY-MM-DD").

RetirementAge

Age of retirement.

Value

All contributions to the 3rd Pillar on an annual basis.

Examples

## Not run: 
buildContributionP3path(
  birthday = "1980-12-01",
  P3purchase = 5000,
  CurrentP3 = 100000,
  returnP3 = 0.03,
  givenday = as.Date("2015-11-30"),
  RetirementAge = 62)

## End(Not run)


miraisolutions/SmaRP documentation built on June 10, 2025, 9:31 a.m.