calcTaxBenefitSwiss | R Documentation |
Calculates the tax benefits as a difference of the taxes paid with and without retirement contributions. Calls 'getTaxAmount()', therefore, it assumes objects in the global environment.
calcTaxBenefitSwiss(ExpectedSalaryPath, TaxableIncome, rate_group, Age,
NChildren, postalcode, churchtax)
ExpectedSalaryPath |
Vector of annual salaries until retirement. |
TaxableIncome |
Vector of annual taxable income until retirement. |
rate_group |
A (Single), B (Married), C (Married Double income) |
Age |
Age of the person. |
NChildren |
Number of children. |
postalcode |
Zip code |
churchtax |
Y/N |
Single tax benefits (tax relief) of one contribution.
getTaxAmount()
swisstax
## Not run:
calcTaxBenefitSwiss(ExpectedSalaryPath = seq(90000, 100000, 1000),
TaxableIncome = seq(88000, 98000, 1000),
rate_group = "A",
Age = seq(55, 65),
NChildren = 0,
postalcode = 8400,
churchtax = "Y")
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.