as_graphNEL | R Documentation |
Function to transform an adjacency matrix into a graphNEL object.
as_graphNEL(DAG)
DAG |
Adjacency matrix of a DAG |
A graphNEL object
# Randomly generate DAG
q <- 4; w = 0.2
set.seed(123)
DAG <- rDAG(q,w)
as_graphNEL(DAG)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.