Learn R Programming

IVPP (version 1.1.2)

bridge_by_community: Bridge centrality by target community

Description

Computes bridge strength by community pairs

Usage

bridge_by_community(graph, community)

Arguments

graph

p x p adjacency matrix (can be directed or undirected)

community

character vector of length p in the SAME order as rows/cols of graph e.g., rep(c("dep","anx","mech"), each = 3)