Test whether graph object is valid
validGraph is a validating function for a graph object.
validGraph(object, quietly=FALSE)
object |
a graph object to be tested |
quietly |
|
If the graph object is valid, TRUE
is returned otherwise
FALSE
is returned. If object
is not a valid graph and
quietly
is set to FALSE
then descriptions of the problems
are printed.
Elizabeth Whalen
testGraph<-graphNEL() testGraph@nodes<-c("node1","node2","node3") validGraph(testGraph)
Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.