segcurve {segregation} | R Documentation |
Produces one or several segregation curves, as defined in Duncan and Duncan (1955)
segcurve(data, group, unit, weight = NULL, segment = NULL)
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 |
Returns a ggplot2 object.