View source: R/critical_links.R
| print.critical_links | R Documentation |
Compact report of an identify_critical_links analysis: the
populations compared, the outcome of the global test, and the size of the
critical set together with its most significant edges. Use
summary.critical_links for the call, the analysis settings
and the node-level view as well.
## S3 method for class 'critical_links'
print(x, n = 6, digits = getOption("digits"), ...)
x |
An object of class |
n |
Number of critical edges to display. Default |
digits |
Number of significant digits used for the $p$ values.
Default |
... |
Further arguments, currently ignored. |
x, invisibly.
summary.critical_links,
plot.critical_links.
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)
result
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.