Learn R Programming

pcalg (version 2.4-3)

showEdgeList: Show Edge List of pcAlgo object

Description

Show the list of edges (of the graph) of a pcAlgo object; this is intended to be an alternative if Rgraphviz does not work.

Usage

showEdgeList(object, labels = NULL)

Arguments

object
an R object of class pcAlgo, as returned from skeleton() or pc().
labels
optional labels for nodes; by default, the labels from the object are used.

Value

the edge list.

See Also

showAmat for the adjacency matrix of a pcAlgo object. iplotPC for plotting a pcAlgo object using the package igraph, also for an example of showEdgeList().