tax_calculation: Calculate tax liability based on a tax table

View source: R/tax_calculation.R

tax_calculationR Documentation

Calculate tax liability based on a tax table

Description

Function to calculate tax liability using custom tax tables

Usage

tax_calculation(income, tax_table)

Arguments

income

any amount to apply to a tax table

tax_table

a matrix representing any tax table

Details

tax_calculation takes a vector of income and a matrix representation of the income tax brackets to calculate the tax liability. Allowing for custom tax tables make it easier to model policy changes.


chrisaxelson/tax4sa documentation built on July 17, 2025, 5:21 a.m.