View source: R/compare_avg_tax_rates.R
compare_avg_tax_rates | R Documentation |
To determine the effects of bracket creep on a proposed tax policy, a common task is calculate the change in the average tax rates for each percentile. This function accepts a sample file and a baseline sample file, and returns a 100-row table giving the mean change in average tax rates for each percentile, compared to the baseline.
compare_avg_tax_rates(DT, baseDT, by = "id", ids = NULL)
DT |
A single |
baseDT |
A |
by |
How to separate |
ids |
Subset |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.