adj2link | R Documentation |
Extract links from an adjacency matrix or an object of calsses "sim
" from function bdgraph.sim
and
"graph"
from function graph.sim
.
adj2link( adj )
adj |
adjacency matrix corresponding to a graph structure in which |
matrix corresponding to the extracted links from graph structure.
Reza Mohammadi a.mohammadi@uva.nl
Mohammadi, R. and Wit, E. C. (2019). BDgraph: An R
Package for Bayesian Structure Learning in Graphical Models, Journal of Statistical Software, 89(3):1-30, \Sexpr[results=rd]{tools:::Rd_expr_doi("10.18637/jss.v089.i03")}
link2adj
, graph.sim
# Generating a 'random' graph
adj <- graph.sim( p = 6, vis = TRUE )
adj2link( adj )
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.