get_graph_info {HGraph}R Documentation

Get travel path of graph

Description

Get travel path of graph

Usage

get_graph_info(edgeMatrix = HGraph::edge, varVec = c("a", "b", "c"))

Arguments

edgeMatrix

a matrix

varVec

a vector

Value

Graph struct

Examples

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)

[Package HGraph version 0.1.0 Index]