calc_locquo: Calculate location quotient measure of segregation

Description Usage Arguments Value Examples

View source: R/calc_locquo.R

Description

calculates location quotient on a dataset

Usage

1
calc_locquo(group_df, out_groups = "NH White", parent_geo = c(), ...)

Arguments

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 clustering is being calculated relative the total population.

parent_geo

character vector of additional columns to subdivide analysis

...

added for compatibility

Value

data frame with location quotient

Examples

1
calc_locquo(get_acs_race("CO", "Boulder", year = 2017))

nmmarquez/censeg documentation built on Sept. 12, 2020, 4:13 a.m.