segcurve {segregation} | R Documentation |
A visual representation of two-group segregation
Description
Produces one or several segregation curves, as defined in Duncan and Duncan (1955)
Usage
segcurve(data, group, unit, weight = NULL, segment = NULL)
Arguments
data |
A data frame. |
group |
A categorical variable contained in |
unit |
A categorical variable contained in |
weight |
Numeric. (Default |
segment |
A categorical variable contained in |
Value
Returns a ggplot2 object.
[Package segregation version 1.1.0 Index]