Description Usage Arguments Value Examples
View source: R/get_giant_component.R
The "giant component" of a graph is defined as the component of the largest order (i.e. most number of nodes)
1 2 3 |
gr |
tidygraph object |
the giant component of the input tidygraph object or all components except for the giant component
1 2 3 4 5 6 | gr_large <- quick_forestfire(10, name = LETTERS)
gr_small <- quick_forestfire(5, name = letters)
gr <- tidygraph::bind_graphs(gr_large, gr_small)
gr
get_giant_component(gr)
rm_giant_component(gr)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.