layout_on_circles: special igraph layout for the dependence structure...

Description Usage Arguments Details Examples

View source: R/multivariance-functions.R

Description

It places the variable nodes on an outer circle and the dependency nodes on an inner circle

Usage

1
layout_on_circles(g, n = sum(is.na(igraph::V(g)$level)))

Arguments

g

graph

n

number of vertices on outer circle

Details

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.

Examples

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))

multivariance documentation built on Oct. 6, 2021, 5:08 p.m.