View source: R/critical_links.R
| summary.critical_links | R Documentation |
Extends print.critical_links with the settings the analysis
used and a node-level view of the critical set: the nodes that participate
in the most critical edges, as returned by get_critical_nodes.
## S3 method for class 'critical_links'
summary(object, node_labels = NULL, ...)
object |
An object of class |
node_labels |
Optional character vector of node labels, passed to
|
... |
Further arguments, currently ignored. |
An object of class "summary.critical_links", a list with the
components n_critical, n_edges, p_value,
settings, group_sizes, critical_edges and
critical_nodes.
identify_critical_links,
get_critical_nodes.
control <- generate_category_graphs(n_graphs = 15, n_nodes = 10,
n_communities = 2, base_intra_prob = 0.8, base_inter_prob = 0.2, seed = 1)
patient <- generate_category_graphs(n_graphs = 15, n_nodes = 10,
n_communities = 2, base_intra_prob = 0.5, base_inter_prob = 0.5, seed = 2)
result <- identify_critical_links(list(Control = control, Patient = patient),
n_permutations = 200, seed = 42)
summary(result)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.