Computes pairwise correlation matrix among nexus dimensions to identify synergies (positive) and trade-offs (negative).
nexus_tradeoff(data, method = "pearson", verbose = TRUE)A numeric correlation matrix with pairwise correlations. Positive values suggest synergies; negative values suggest trade-offs between dimensions.
# \donttest{
df <- data.frame(WUE = c(8.5, 7.2, 6.5, 9.0, 7.8),
EUE = c(11.2, 12.5, 9.8, 10.5, 11.0),
Yield = c(1500, 1380, 1250, 1650, 1580),
NUE = c(25, 23, 20.8, 27.5, 26.3),
CF = c(2500, 3000, 1800, 2800, 2200))
nexus_tradeoff(df)
#> Trade-off matrix computed (pearson method).
#> WUE EUE Yield NUE CF
#> WUE 1.000 0.050 0.906 0.908 0.509
#> EUE 0.050 1.000 0.071 0.074 0.756
#> Yield 0.906 0.071 1.000 1.000 0.428
#> NUE 0.908 0.074 1.000 1.000 0.433
#> CF 0.509 0.756 0.428 0.433 1.000
# }