essgraph2amat | R Documentation |
Extracts the adjacency matrix from an EssGraph-class
object. This object is returned
by score-based causal discovery algorithms in the pcalg package.
essgraph2amat(essgraph, p = length(essgraph$field(".nodes")))
essgraph |
An |
p |
The number of nodes in the graph |
An adjacency matrix (square matrix with 0/1 entries).
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.