buildTaxBenefits | R Documentation |
All inputs are scalars. Builds a data frame as long as the years to retirement. Calls 'getTaxAmount()' through 'calcTaxBenefitSwiss()', therefore, it assumes objects on the global enviornment.
buildTaxBenefits(birthday, TypePurchase, P2purchase, P3purchase, returnP3, Salary, SalaryGrowthRate, postalcode, NChildren, churchtax, rate_group, givenday = today("UTC"), RetirementAge)
birthday |
Date of birth ("YYYY-MM-DD"). |
TypePurchase |
AnnualP2 if the purchase on the second pillar gets repeated every year until retirement. |
P2purchase |
Annual voluntary contribution to the Occupational Fund. |
P3purchase |
Annual voluntary contribution to the Private Fund (3rd Pillar). |
returnP3 |
Annual expected return on the Private Fund. |
Salary |
Stipend. |
SalaryGrowthRate |
Rate at which the salary increases/decreases. |
postalcode |
Zip code |
NChildren |
Number of children. |
churchtax |
Y/N |
rate_group |
A (Single), B (Married), C (Married Double income) |
givenday |
Date at which the age is computed ("YYYY-MM-DD"). |
RetirementAge |
Age of retirement. |
data.frame tax benefits path.
swisstax
## Not run: buildTaxBenefits( birthday, TypePurchase, P2purchase, P3purchase, returnP3, Salary, SalaryGrowthRate, postalcode, NChildren, churchtax, rate_group, MaxContrTax, givenday = today("UTC"), RetirementAge = 65) ## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.