Description Usage Arguments Value Examples
Make a single node node table
1 | make_single_node_node_table_(.data, .id, node, link)
|
.data |
a data frame with one row per (node, link) |
.id |
id of a node |
node |
name of the node variable |
link |
name of the link variable |
a data frame with one row per node, node : ie one row per link
1 2 3 4 5 6 7 8 9 10 11 12 13 14 | ## Toy data
library("tibble")
toy_data <- tibble::tibble(
node = c("A", "B", "C", "A", "B"),
link = c("a", "a", "b", "b", "b")
)
make_single_node_node_table_(
.data = toy_data,
.id = "A",
node = "node",
link = "link"
)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.