R/collapse.R
collapse4_vap.Rd
Collapses Other, AIAN, Asian, NHPI, and Two+ into other.
collapse4_vap(.data, prefix = "vap_")
tibble, data.frame, or sf tibble
Default is vap_. The prefix for the race categories.
vap_
.data with columns collapsed
data(mt_county) mt_county <- mt_county %>% collapse4_vap()