get_graph_info | R Documentation |
Get travel path of graph
get_graph_info(edgeMatrix = HGraph::edge, varVec = c("a", "b", "c"))
edgeMatrix |
a matrix |
varVec |
a vector |
Graph struct
aedge <- matrix(0, 3, 3, dimnames=list(c("a", "b", "c"), c("a", "b", "c")))
aedge["a","b"]<-1
aedge["a","c"]<-1
aedge["b","c"]<-1
results <- get_graph_info(edgeMatrix=aedge, varVec=c("a", "b", "c"))
print(results)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.