View source: R/compare_weights.R
| overlap_top_weights | R Documentation |
For each pair of measures, the Jaccard index between the sets of their
strongest edges (the top share of the edges with the highest weights).
Correlations summarise all the edges, but a network analysis often relies
on the strongest ones (after a filtering of the weak ties). This function
tells how many of the strongest ties two measures have in common:
1 means the same strongest edges, 0 none in common.
overlap_top_weights(edges, top = 0.1)
edges |
A named list of at least two edge tables, for instance from
|
top |
Share of edges kept for each measure, between 0 and 1 (0.1 by default: the top 10% of the edges). Ties at the threshold are all kept. |
A symmetric matrix of Jaccard indices, with the number of edges
kept by each measure in the attribute "n_top".
Other tools to compare coupling measures:
compute_couplings(),
correlate_weights(),
merge_weights(),
plot_weights(),
summarise_weights()
library(biblionetwork)
edges <- compute_couplings(Ref_stagflation, "Citing_ItemID_Ref", "ItemID_Ref",
weight_threshold = 2)
overlap_top_weights(edges, top = 0.1)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.