graph_query | R Documentation |
Unified approach to query a graph about its properties (based partly on functionality from gRbase and functionality imported from RBGL).
querygraph(object, op, set = NULL, set2 = NULL, set3 = NULL)
qgraph(object, op, set = NULL, set2 = NULL, set3 = NULL)
ancestors(set, object)
subGraph(set, object)
is.triangulated(object)
connComp(object)
ancestralSet(set, object)
ancestralGraph(set, object)
parents(set, object)
children(set, object)
separates(set, set2, set3, object)
closure(set, object)
adj(object, set)
is.simplicial(set, object)
simplicialNodes(object)
is.complete(object, set = NULL)
is.decomposition(set, set2, set3, object)
nodes_(object)
nodes(object, ...)
## S4 method for signature 'igraph'
nodes(object, ...)
edges(object)
edges_(object)
addEdge(v1, v2, object)
removeEdge(v1, v2, object)
object |
A graph. |
op |
The operation or query. |
set , set2 , set3 |
Sets of nodes in graph. |
... |
additional arguments |
v1 , v2 |
Vertex names |
ug0 <- ug(~a:b + b:c:d + e)
separates("a", "d", c("b", "c"), ug0)
separates("a", "d", "c", ug0)
is.simplicial("b", ug0)
simplicialNodes(ug0)
simplicialNodes(ug0)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.