Given a directed network and a mapping of nodes to communities, calculate the community profiles --- the vector of probabilities that a node from one community cites other nodes in the network.
community_profile(x, ..., self = TRUE)
x | a matrix of citations (from columns to rows) or an igraph object |
---|---|
… | Further arguments passed to |
self | logical. Include self-citations? If |
A sparse matrix of community profiles. Each column corresponds to a community and each row to a node in the network.
Profiles are computed by aggregating the out-links of nodes in each community, then scaling to sum to one. This means nodes with more out-links have greater influence on their community profiles.