View source: R/core identification.R
find.core | R Documentation |
Uses the k-core decomposition, see graph.adjacency, to identify the elite
find.core(sp, reach = 2.1)
sp |
a shortest paths matrix |
reach |
the maximum distance considered as a relation in the decompostition |
a numerical vector with the coreness score for each vertex
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)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.