coupling: Coupling and Coordination Analysis

View source: R/coupling.R

couplingR Documentation

Coupling and Coordination Analysis

Description

Computes coupling degree, coordination index, and coupling coordination degree for multiple subsystems.

Usage

coupling(u, w = NULL)

Arguments

u

Data frame or matrix with normalized scores of subsystems as columns.

w

Optional vector of weights for subsystems; defaults to equal weights if NULL.

Value

A data frame with columns:

CD

Coupling degree.

CI

Coordination index.

CCD

Coupling coordination degree.

Examples

# Sample normalized subsystem scores
df = data.frame(
  s1 = c(0.0162, 0.1782, 0.5490, 0.6730, 0.0207, 0.9875),
  s2 = c(0.2720, 0.6824, 0.0593, 0.4812, 0.8891, 0.5573)
)
# Equal weights
coupling(df)
# Custom weights
coupling(df, c(0.6, 0.4))


zhjx19/mathmodels documentation built on June 2, 2025, 12:18 a.m.