% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/cluster-metrics.R
\name{layer_degree_correlation}
\alias{layer_degree_correlation}
\alias{ldegcor}
\title{Degree Correlation Between Layers}
\usage{
layer_degree_correlation(layers, mode = c("total", "in", "out"))

ldegcor(layers, mode = c("total", "in", "out"))
}
\arguments{
\item{layers}{List of adjacency matrices}

\item{mode}{Degree type: "total", "in", "out"}
}
\value{
Correlation matrix between layer degree sequences
}
\description{
Measures hub consistency across layers via degree correlation.
}
\examples{
mat1 <- matrix(c(0, 1, 0, 1, 0, 1, 0, 1, 0), 3, 3)
mat2 <- matrix(c(0, 0, 1, 1, 0, 0, 0, 1, 0), 3, 3)
layers <- list(L1 = mat1, L2 = mat2)
layer_degree_correlation(layers, mode = "total")
}
