View source: R/closure_table.R
Make a closure table from an adjacency list
1 | closure_table(adj_list, parent_col = "parent", child_col = "child")
|
1 2 | alist <- tibble::tibble(parent = c(1, 2, 2), child = c(2, 3, 4))
closure_table(alist)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.