View source: R/TreeFunctions.R
ProcessMatlabDTree | R Documentation |
Convert a matlab edge table and predecessor list into a directed weighted edge table
ProcessMatlabDTree(edge_table, predecessors)
edge_table |
a numeric matrix whose rows are undirected edges of a tree, col 1 is v1, col2 is v2, col3 is weight |
predecessors |
a vector of tree predecessors such that pred[i] = the predecessor of i |
a weighted, directed edge table
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.