community_profile: Calculate community profiles

Description Usage Arguments Details Value See Also

View source: R/profiles.R

Description

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.

Usage

1

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.

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.

Value

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

See Also

merge_communities(), cprofile()


Selbosh/scrooge documentation built on May 5, 2019, 8 p.m.