Description Usage Arguments Value Examples
This function uses 2 estimates and 2 margins of error to do significance testing. It optionally returns the input data frame with the calculations used for testing, or just the data frame with results attached.
1 2 3 4 5 6 7 8 9 10 |
.data |
A data frame |
est1 |
Estimate for first group |
moe1 |
Margin of error for first group |
est2 |
Estimate for second group |
moe2 |
Margin of error for second group |
cl |
Confidence level used in calculating MOEs given; defaults to 0.9, per ACS data |
alpha |
Alpha used for significance testing; defaults to 0.05 |
show_calc |
Logical, whether to keep intermediary calculations (default) or only result of testing |
A tibble/data frame with testing-related columns added
1 2 3 4 5 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.