powered by
Collapses Other, AIAN, Asian, NHPI, and Two+ into other.
collapse4_pop(.data, prefix = "pop_")
.data with columns collapsed
tibble, data.frame, or sf tibble
Default is pop_. The prefix for the race categories.
pop_
data(mt_county) mt_county <- mt_county %>% collapse4_pop()
Run the code above in your browser using DataLab