exposure {segregation} | R Documentation |
Calculates pairwise exposure indices
Description
Returns the pairwise exposure indices between groups
Usage
exposure(data, group, unit, weight = NULL)
Arguments
data |
A data frame. |
group |
A categorical variable
contained in |
unit |
A vector of variables
contained in |
weight |
Numeric. (Default |
Value
Returns a data.table with columns "of", "to", and "exposure". Read results as "exposure of group x to group y".
[Package segregation version 1.1.0 Index]