Description Usage Arguments Value Examples
View source: R/calc_dissimilarity.R
calculates index of dissimilarity on a dataset
1 2 3 4 5 6 7 | calc_dissimilarity(
group_df,
out_groups = "NH White",
alt_groups = NULL,
parent_geo = c(),
...
)
|
group_df |
race specific df with a count for every GEOID |
out_groups |
character vector indicating the out group of the comparison. The default behavior selects "NH White" such that White-Non White segregation is being evaluated. |
alt_groups |
character vector indicating the alt groups of the comparison. The default behavior selects NULL such that all groups except the out group are selected. |
parent_geo |
character vector of additional columns to subdivide analysis |
... |
added for compatibility |
single row data frame with index of dissimilarity
1 | calc_dissimilarity(get_acs_race("CA", "Orange", year = 2013))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.