layout_on_circles {multivariance} | R Documentation |
It places the variable nodes on an outer circle and the dependency nodes on an inner circle
layout_on_circles(g, n = sum(is.na(igraph::V(g)$level)))
g |
graph |
n |
number of vertices on outer circle |
This is the standard layout for the full dependence structure, since in this case there often too many nodes which make the other (usual) layout incomprehensible.
N = 200
y = coins(N,2)
x = cbind(y,y,y)
g = dependence.structure(x,structure.type = "clustered",verbose = FALSE)$graph
plot(g)
plot(g,layout = layout_on_circles(g))