buildContributionP2Path: buildContributionP2Path

View source: R/core.R

buildContributionP2PathR Documentation

buildContributionP2Path

Description

Gather all the required information to project the annual contributions to the occupational fund.

Usage

buildContributionP2Path(birthday, Salary, SalaryGrowthRate, CurrentP2,
  P2purchase, TypePurchase, rate = BVGMindestzinssatz,
  givenday = today("UTC"), RetirementAge)

Arguments

birthday

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

Salary

Stipend.

SalaryGrowthRate

Rate at which the salary increases/decreases.

CurrentP2

Value of the current assets in the Occupational Fund.

P2purchase

Annual voluntary contribution to the Occupational Fund.

TypePurchase

AnnualP2 if the purchase on the second pillar gets repeated every year until retirement.

rate

Interests rate on annual basis. Constant interest rates are assumed.

givenday

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

RetirementAge

Age of retirement.

Value

All contributions to the 2nd Pillar on an annual basis.

Examples

## Not run: 
buildContributionP2Path(
  birthday = "1975-10-10",
  Salary = 90000,
  SalaryGrowthRate = 0.01,
  CurrentP2 = 10000,
  P2purchase = 2000,
  TypePurchase = "AnnualP2",
  rate = 0.025,
  givenday = as.Date("2018-07-04"),
  RetirementAge = 67)

## End(Not run)

miraisolutions/SmaRP documentation built on March 23, 2022, 6:46 a.m.