https://github.com/cran/multivariance
Raw File
Tip revision: 223488fe47429eb3067dc3455d2e2852fe694fbc authored by Björn Böttcher on 06 October 2021, 14:50:05 UTC
version 2.4.1
Tip revision: 223488f
layout_on_circles.Rd
% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/multivariance-functions.R
\name{layout_on_circles}
\alias{layout_on_circles}
\title{special igraph layout for the dependence structure visualization}
\usage{
layout_on_circles(g, n = sum(is.na(igraph::V(g)$level)))
}
\arguments{
\item{g}{graph}

\item{n}{number of vertices on outer circle}
}
\description{
It places the variable nodes on an outer circle and the dependency nodes on an inner 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{
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))
}
back to top