moe_sum | R Documentation |
Generates a margin of error for a derived sum. The function requires a vector of margins of error involved in a sum calculation, and optionally a vector of estimates associated with the margins of error. If the associated estimates are not specified, the user risks inflating the derived margin of error in the event of multiple zero estimates. It is recommended to inspect your data for multiple zero estimates before using this function and setting the inputs accordingly.
moe_sum(moe, estimate = NULL, na.rm = FALSE)
moe |
A vector of margins of error involved in the sum calculation |
estimate |
A vector of estimates, the same length as |
na.rm |
A logical value indicating whether missing values (including NaN) should be removed |
A margin of error for a derived sum
https://www2.census.gov/programs-surveys/acs/tech_docs/accuracy/MultiyearACSAccuracyofData2015.pdf
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.