get_graph_info: Get travel path of graph

View source: R/GetGraph.R

get_graph_infoR 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)

HGraph documentation built on March 31, 2023, 11:03 p.m.