Description Usage Arguments Value Examples
View source: R/gaps_critical_edges.R
Note that this only works for undirected graphs. Regardless of whether the input graph is directed it is treated as undirected graph.
1 2 3 4 5 6 7 8 9 | plot_critical_dyads(
net,
motif,
lvl_attr = c("sesType"),
level = -1,
cutoff = 2,
subset_graph = "none",
...
)
|
net |
Statnet network object |
motif |
Motif to explore gaps in for |
lvl_attr |
Node attribute specifying level information |
level |
Focal level for gap analysis |
cutoff |
Cut-off point in contributions of an edge to the number of motifs above which to analyse gaps |
subset_graph |
Whether to subset the graph to only show nodes involved in gaps. One of "none" (no subset, default), "partial" (only focal level is subset) or "focal" (only focal level shown) |
... |
list of additional parameters to be passed to plotting function
(see |
A plot of gaps, sized by weight in a multilevel network
1 2 3 4 5 6 7 8 9 10 11 12 | ## Not run:
plot_critical_dyads(ml_net, "1,2[I.C]", level = -1)
plot_critical_dyads(ml_net, "1,2[I.C]",
level = -1,
subset_graph = "focal", cutoff = 4, label = TRUE
)
plot_critical_dyads(ml_net, "1,2[I.C]",
level = -1,
subset_graph = "partial", cutoff = 4, label = TRUE
)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.