Description Usage Arguments Details Examples
View source: R/multivariance-functions.R
It places the variable nodes on an outer circle and the dependency nodes on an inner circle
1 | 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.
1 2 3 4 5 6 7 | 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))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.