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