Learn R Programming

gRbase (version 1.3.9)

graph-operations1: Simple operations on undirected and directed acyclic graphs.

Description

Make operations on undirected and directed acyclic graphs.

Usage

as.adjMAT(object)
ancestors(set, object)
ancestralGraph(set, object)
ancestralSet(set, object)
children(set, object)
closure(set, object)
vpar(object)
is.complete(object, set)
is.decomposition(set, set2, set3, object)
is.simplicial(set, object)
parents(set, object)
simplicialNodes(object)

Arguments

set, set2, set3
Vectors of sets
object
A graphNEL object

Details

Notice that as.adjMAT(g) does the same as as(g, "matrix") but as.adjMAT() is considerably faster.

See Also

edgeList nonEdgeList mcs rip moralize jTree

Examples

Run this code
ugr <- ug(~me:ve,~me:al,~ve:al,~al:an,~al:st,~an:st)
closure("me", ugr)

Run the code above in your browser using DataLab