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)

Arguments

x

a matrix of citations (from columns to rows) or an igraph object

Further arguments passed to merge_communities().

self

logical. Include self-citations? If FALSE, they will not be counted.

Value

A sparse matrix of community profiles. Each column corresponds to a community and each row to a node in the network.

Details

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.

See also

merge_communities(), cprofile()