View source: R/example_graphs.R
example_graphs | R Documentation |
Generate a random list of tbl_graph objects.
example_graphs(
n = c(4, 5, 10),
p = 0.5,
colors = pals::viridis(length(n)),
seed = 2023
)
n |
Number of nodes for each graph. |
p |
The probability of nodes connecting between graphs (on a 0-1 scale). |
colors |
Color for each graph. |
seed |
Random seed. |
A list of tbl_graph objects.
grs <- example_graphs()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.