core.items {NetworkToolbox} | R Documentation |
Core Items
Description
Automatically determines core, intermediary, and peripheral items in the network.
The entire network or within-community gradations can be determined. Based on the
hybrid
centrality
Usage
core.items(A, comm, by = c("network", "communities"))
Arguments
A |
An adjacency matrix of network data |
comm |
A vector or matrix corresponding to the community each node belongs to |
by |
Should the core items be defined by network or communities?
Defaults to |
Value
Returns a list containing:
core |
Core items for each community |
inter |
Intermediate items for each community |
peri |
Peripheral items for each community |
Author(s)
Alexander Christensen <alexpaulchristensen@gmail.com>
Examples
#network
# Pearson's correlation only for CRAN checks
A <- TMFG(neoOpen, normal = FALSE)$A
#core items by network
coreBYnetwork <- core.items(A, by = "network")
#theoretical factors
comm <- c(rep(1,8),rep(2,8),rep(3,8),rep(4,8),rep(5,8),rep(6,8))
#core items by communities
coreBYcomm <- core.items(A, comm, by = "communities")
[Package NetworkToolbox version 1.4.2 Index]