Produces one or several segregation curves, as defined in Duncan and Duncan (1955)
Arguments
- data
A data frame.
- group
A categorical variable contained in
data. Defines the first dimension over which segregation is computed.- unit
A categorical variable contained in
data. Defines the second dimension over which segregation is computed.- weight
Numeric. (Default
NULL)- segment
A categorical variable contained in
data. (DefaultNULL) If given, several segregation curves will be shown, one for each segment.