pit_manual | R Documentation |
Function to calculate tax liability using custom tax tables
pit_manual(income, age, mtc, tax_table, rebate_table)
income |
taxable income for the tax year |
age |
age of each individual at the end of the tax year |
mtc |
medical tax credits available in the tax year |
tax_table |
a matrix representing any tax table, specifically the marginal tax rates and brackets |
rebate_table |
a matrix representing the rebates available for each age group |
pit_manual
takes a vector of income and age and a matrix representation of the income tax brackets and
the rebate available per age to calculate the tax liability.
Allowing for custom tax tables make it easier to model policy changes.
Since it is implemented in C++ it should be relatively quick and well-suited to large datasets.
# Calculate personal income tax using custom tax tables
pit_manual(income = 1000000, age = 53, mtc = 2550,
tax-table = Tax_tables$PIT_brackets_2021, rebate_table = Tax_tables$PIT_rebates_2021)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.