coupling | R Documentation |
Computes coupling degree, coordination index, and coupling coordination degree for multiple subsystems.
coupling(u, w = NULL)
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. |
A data frame with columns:
Coupling degree.
Coordination index.
Coupling coordination degree.
# 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))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.