Learn R Programming

pcalg (version 2.7-12)

showAmat: Show Adjacency Matrix of pcAlgo object

Description

This function is deprecated - Use as(*, "amat") instead !

Show the adjacency matrix of a "pcAlgo" object; this is intended to be an alternative if the Rgraphviz package does not work.

Usage

showAmat(object)

Value

The adjacency matrix.

Arguments

object

an R object of class pcAlgo, as returned from skeleton() or pc().

Author

Markus Kalisch (kalisch@stat.math.ethz.ch)

See Also

showEdgeList for showing the edge list of a pcAlgo object. iplotPC for plotting a "pcAlgo" object using the package igraph also for an example of showAmat().