Odds ratio for connected, as opposed to disconnected, dyads depending whether it is between- or within-group, i.e. how much more likely the dyad will be connected if it is within-group.
orwg(object, ...) ## S3 method for class 'table' orwg(object, ...) ## S3 method for class 'igraph' orwg(object, vattr, ...) ## Default S3 method: orwg(object, ...)
R object, see Details for available methods
other arguments passed to/from other methods
character scalar or any vector, name of the vertex attribute or the attribute itself (as a vector)
The measure takes values, like all odds ratios, from (0; Inf).
object is a table it is interpreted as a mixing matrix.
Two-dimensional table is interpreted as a contact layer. Three-dimensional
table is interpreted as a full mixing matrix
cross-classyfying all dyads, in which
h correspond to
group membership of ego and alter respectively. Layers
y=2 are assumed to be non-contact and contact layers respectively.
object is of class "igraph" it is required to supply
with the name of the vertex attribute to calculate intermediate mixing
Numeric value of the measure.
Moody, Jim (2001) "Race, school integration, and friendship segregation in America", American Journal of Sociology, 107(3):679–377
Other segregation measures:
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.