orwg: Odds ratio of existence of within-group ties

Description Usage Arguments Details Value References See Also Examples

View source: R/orwg.R

Description

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.

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
orwg(object, ...)

## S3 method for class 'table'
orwg(object, ...)

## S3 method for class 'igraph'
orwg(object, vattr, ...)

## Default S3 method:
orwg(object, ...)

Arguments

object

R object, see Details for available methods

...

other arguments passed to/from other methods

vattr

character scalar or any vector, name of the vertex attribute or the attribute itself (as a vector)

Details

The measure takes values, like all odds ratios, from (0; Inf).

Method for mixing matrices.

Method for igraphs

Value

Numeric value of the measure.

References

Moody, Jim (2001) "Race, school integration, and friendship segregation in America", American Journal of Sociology, 107(3):679–377

See Also

Other segregation measures: assort, coleman, ei, freeman, gamix, smi, ssi

Examples

1
orwg(Wnet, "gender")

mbojan/isnar documentation built on Feb. 18, 2021, 4:38 a.m.