https://github.com/Mark-Eis/Fiscal/blob/e22ac22c6049c75eafbdcc92da78585df8ed041a/R/allowance.R#L2 ``` function(taxable, deficit = NULL, round10 = TRUE, opts = tax_opts()) { ``` https://github.com/Mark-Eis/Fiscal/blob/e22ac22c6049c75eafbdcc92da78585df8ed041a/R/allowance.R#L18 ``` with(opts, { ... allow <- allow - max(min(((sum(band) + 1 - taxable) / 2 + 9), offset), 0) # adjustment as for incometax() if (round10) round(allow, -1) else allow } ) ```
Fiscal/R/allowance.R
Line 2 in e22ac22
Fiscal/R/allowance.R
Line 18 in e22ac22