proximity: Social proximity

View source: R/core identification.R

proximityR Documentation

Social proximity

Description

Calculates the social proximity of all vertices in a graph as described by Alba and Kadushin: Alba, Richard D., and Charles Kadushin. “The Intersection of Social Circles: A New Measure of Social Proximity in Networks.” Sociological Methods & Research 5, no. 1 (August 1, 1976): 77–102.

Usage

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

Examples

data(den)
den.health       <- has.tags(den, "Health", res = "relations", silent = TRUE)
graph.health     <- elite.network(den.health)
graph.health     <- betweenness.decomposition(graph.health)
proximity(graph.health)

antongrau/eliter documentation built on March 2, 2024, 8:05 p.m.