Description Usage Arguments Examples
This helper function inputs an edge list and converts it into a data frame where the whole tree structure can be seen.
1 | edges2tree(edges, lvl1deps)
|
edges |
An edge list as a data frame, first column: starting points, second columns: end points |
lvl1deps |
The packages that should be at the first level (at the roots) of the tree structure |
1 2 3 4 | edgelist <- data.frame(start = c("shiny", "shiny", "htmltools"),
end = c("jsonlite", "htmltools", "digest"))
lvl1deps <- "shiny"
edges2tree(edgelist, lvl1deps)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.