I've combined the B17001 tables by race to calculate estimates over the years for each racial group of young adults for Michigan, from the 2010-2014 to 2020-2024 5-year ACS estimates. There are no 0-value MOEs in this dataset. When trying to recalculate the MOE values using moe_sum(), I get the following error for every year/race combination in the dataset:
Warning message:
There were 75 warnings in `summarize()`.
The first warning was:
ℹ In argument: `sum_moe = moe_sum(moe, estimate)`.
ℹ In group 1: `race = "American Indian"`, `year = "2014"`.
Caused by warning in `max()`:
! no non-missing arguments to max; returning -Inf
ℹ Run dplyr::last_dplyr_warnings() to see the 74 remaining warnings.
I've combined the B17001 tables by race to calculate estimates over the years for each racial group of young adults for Michigan, from the 2010-2014 to 2020-2024 5-year ACS estimates. There are no 0-value MOEs in this dataset. When trying to recalculate the MOE values using moe_sum(), I get the following error for every year/race combination in the dataset: