Learn R Programming

pcalg (version 2.0-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 Robject of class pcAlgo, as returned from skeleton() or pc().
labels
optional labels for nodes; by default, the labels from the object are used.

Value

  • none; the purpose is in (the side effect of) printing 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().