View source: R/categorize_race.R
categorize_race | R Documentation |
From 1979 to 2015, the race variable in MCOD files underwent several changes. This function creates a categorical race variable based on the standardized race column created by remap_race().
categorize_race(race_column)
race_column |
race column created from remap_race() |
factor
categorize_race(c(0, 1, 1, 1, 0:7, 99))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.