get_Adj | R Documentation |
Get adjacency list of a tree.
get_Adj(tree)
tree |
Dataframe comprising an adjacency matrix, with column names "Parent" and "Identity" |
The adjacency list.
Rob Noble, robjohnnoble@gmail.com
tree1 <- data.frame(Parent = c(1,1,1,1,2,3,4),
Identity = 1:7,
Population = c(1, rep(5, 6)))
get_Adj(tree1)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.