find.core: Find the core in an elite network

View source: R/core identification.R

find.coreR Documentation

Find the core in an elite network

Description

Uses the k-core decomposition, see graph.adjacency, to identify the elite

Usage

find.core(sp, reach = 2.1)

Arguments

sp

a shortest paths matrix

reach

the maximum distance considered as a relation in the decompostition

Value

a numerical vector with the coreness score for each vertex

Examples

data(den)
health.affil  <- has.tags(den, c("Health"))
den.health    <- den[den$AFFILIATION %in% health.affil,]
graph.health  <- elite.network(den.health)
sp.health     <- shortest.paths(graph.health)
core.health   <- find.core(sp.health)
table(core.health)

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