proximity: Social proximity

Description Usage Arguments Value

Description

Calculates the social proximity of all vertices in a graph as described by Alba and Kadushin.

Usage

1
proximity(graph, neighborhood = 2, mode = "total")

Arguments

graph

is a igraph network

mode

if "total" the proximity is calculated on the size of the combined neighborhood. If "own" or "other" proximity is calculated on the basis of either of the vertices in a relation.

neihborhood

a numerical value indicating the order of the neighborhood, see neighborhood

Value

a matrix with proximity measures


antongrau/soc.elite documentation built on May 10, 2019, 12:25 p.m.