validGraph | R Documentation |
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
graph-class
testGraph<-graphNEL()
testGraph@nodes<-c("node1","node2","node3")
validGraph(testGraph)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.