View source: R/recursive_graph_join.R
recursive_graph_join | R Documentation |
Joins a list of graphs into a single graph. This recursively implements graph_join.
recursive_graph_join(grs, by = "name")
grs |
a list of tbl_graph objects. |
by |
A join specification created with If To join on different variables between To join by multiple variables, use a
For simple equality joins, you can alternatively specify a character vector
of variable names to join by. For example, To perform a cross-join, generating all combinations of |
a single tidygraph object
set.seed(2023)
grs <- example_graphs()
g <- recursive_graph_join(grs)
plot(g, edge.label=igraph::E(g)$color)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.