Compute observed residual correlation (ORC) matrix among observed residuals for variables supplied data.
Examples
# Use the SCWB data example
data(SCWB)
cor.orc(SCWB[, 1:20])
#> cwbcloserel cwbrespect cwbtrust cwbmutuality cwbbeneficence
#> cwbcloserel 1.00000000 0.34938509 0.33760717 0.21878773 -0.13219867
#> cwbrespect 0.34938509 1.00000000 0.61119134 0.34895640 -0.23063890
#> cwbtrust 0.33760717 0.61119134 1.00000000 0.48394767 -0.20433241
#> cwbmutuality 0.21878773 0.34895640 0.48394767 1.00000000 -0.17713110
#> cwbbeneficence -0.13219867 -0.23063890 -0.20433241 -0.17713110 1.00000000
#> cwbintegrity -0.22916644 -0.18690198 -0.21420376 -0.12570184 0.55275841
#> cwbcompetence -0.21739928 -0.21703332 -0.27232038 -0.31143897 0.40004886
#> cwbvision -0.23718551 -0.25548909 -0.21671191 -0.17536458 0.32491711
#> cwbrelgrowth -0.06440115 -0.33740145 -0.22687309 -0.20483424 0.11181868
#> cwbfairness -0.24111277 -0.08864187 -0.06698099 -0.20040239 0.11470784
#> cwbsustenance -0.20787281 -0.22967637 -0.16488715 -0.20916777 -0.02158010
#> cwbachieve -0.25170796 -0.28735243 -0.19155889 -0.16523941 0.02940253
#> cwbsatisf 0.10480985 0.13039040 0.26380393 0.15760874 -0.21449794
#> cwbvalue 0.01136611 -0.01502676 -0.09584566 -0.03427485 -0.22066690
#> cwbbelonging 0.03445978 0.09657238 0.02132319 -0.02140552 -0.15250973
#> cwbwelcome 0.03364147 0.17908722 0.07933698 -0.06320585 -0.21884273
#> cwbpurpose -0.16219953 -0.02447223 -0.13812773 -0.12204953 -0.25879705
#> cwbcontrib -0.21868624 -0.21569172 -0.30186536 -0.15294200 -0.09794858
#> cwbinterconn -0.11499966 -0.22284091 -0.28002490 -0.12393610 -0.13239686
#> cwbsynergy -0.19693994 -0.34141576 -0.36550395 -0.17933640 -0.12839940
#> cwbintegrity cwbcompetence cwbvision cwbrelgrowth
#> cwbcloserel -0.22916644 -0.21739928 -0.237185513 -0.06440115
#> cwbrespect -0.18690198 -0.21703332 -0.255489090 -0.33740145
#> cwbtrust -0.21420376 -0.27232038 -0.216711911 -0.22687309
#> cwbmutuality -0.12570184 -0.31143897 -0.175364585 -0.20483424
#> cwbbeneficence 0.55275841 0.40004886 0.324917112 0.11181868
#> cwbintegrity 1.00000000 0.42279445 0.366802442 -0.04223814
#> cwbcompetence 0.42279445 1.00000000 0.487940171 -0.01196226
#> cwbvision 0.36680244 0.48794017 1.000000000 0.13840066
#> cwbrelgrowth -0.04223814 -0.01196226 0.138400663 1.00000000
#> cwbfairness 0.07546242 0.02526758 0.106220305 0.20799557
#> cwbsustenance -0.01829604 0.07035230 0.001195528 0.14341055
#> cwbachieve 0.06505630 0.10882617 0.117292467 0.15226103
#> cwbsatisf -0.20056320 -0.22492332 -0.217316738 -0.19512688
#> cwbvalue -0.23503461 -0.16874681 -0.240227670 -0.17480510
#> cwbbelonging -0.11693135 -0.09555187 -0.122287927 -0.15206475
#> cwbwelcome -0.18172679 -0.09713717 -0.200611524 -0.25145246
#> cwbpurpose -0.11229485 -0.13722157 -0.205187904 -0.15072011
#> cwbcontrib -0.06403196 -0.13142515 -0.165759556 0.03950039
#> cwbinterconn -0.19676934 -0.11277128 -0.108253911 0.02190081
#> cwbsynergy -0.15680954 -0.11808764 -0.090453752 0.07758612
#> cwbfairness cwbsustenance cwbachieve cwbsatisf cwbvalue
#> cwbcloserel -0.241112766 -0.207872805 -0.25170796 0.10480985 0.011366112
#> cwbrespect -0.088641866 -0.229676374 -0.28735243 0.13039040 -0.015026757
#> cwbtrust -0.066980989 -0.164887148 -0.19155889 0.26380393 -0.095845661
#> cwbmutuality -0.200402386 -0.209167767 -0.16523941 0.15760874 -0.034274852
#> cwbbeneficence 0.114707840 -0.021580099 0.02940253 -0.21449794 -0.220666901
#> cwbintegrity 0.075462418 -0.018296044 0.06505630 -0.20056320 -0.235034606
#> cwbcompetence 0.025267576 0.070352304 0.10882617 -0.22492332 -0.168746814
#> cwbvision 0.106220305 0.001195528 0.11729247 -0.21731674 -0.240227670
#> cwbrelgrowth 0.207995566 0.143410546 0.15226103 -0.19512688 -0.174805097
#> cwbfairness 1.000000000 0.245537211 0.21826551 -0.05409774 -0.145593918
#> cwbsustenance 0.245537211 1.000000000 0.53699249 -0.03533192 -0.073696803
#> cwbachieve 0.218265512 0.536992489 1.00000000 -0.11923641 -0.125493775
#> cwbsatisf -0.054097738 -0.035331924 -0.11923641 1.00000000 0.296708201
#> cwbvalue -0.145593918 -0.073696803 -0.12549378 0.29670820 1.000000000
#> cwbbelonging 0.002931682 -0.225158405 -0.24626435 0.07916789 -0.009156769
#> cwbwelcome -0.102902364 -0.212148910 -0.22686084 0.18112827 0.076619660
#> cwbpurpose -0.150164286 -0.091096705 -0.09649848 0.09489558 0.088071010
#> cwbcontrib -0.098319890 -0.038366524 0.07313495 -0.10568702 0.072908902
#> cwbinterconn -0.156041370 -0.064242189 -0.09798160 -0.37316840 -0.066494261
#> cwbsynergy -0.212101119 -0.063483089 -0.03034496 -0.36712806 -0.001372632
#> cwbbelonging cwbwelcome cwbpurpose cwbcontrib cwbinterconn
#> cwbcloserel 0.034459775 0.033641473 -0.16219953 -0.218686235 -0.11499966
#> cwbrespect 0.096572376 0.179087225 -0.02447223 -0.215691724 -0.22284091
#> cwbtrust 0.021323194 0.079336978 -0.13812773 -0.301865362 -0.28002490
#> cwbmutuality -0.021405522 -0.063205845 -0.12204953 -0.152941998 -0.12393610
#> cwbbeneficence -0.152509726 -0.218842735 -0.25879705 -0.097948580 -0.13239686
#> cwbintegrity -0.116931347 -0.181726795 -0.11229485 -0.064031961 -0.19676934
#> cwbcompetence -0.095551874 -0.097137166 -0.13722157 -0.131425149 -0.11277128
#> cwbvision -0.122287927 -0.200611524 -0.20518790 -0.165759556 -0.10825391
#> cwbrelgrowth -0.152064746 -0.251452457 -0.15072011 0.039500390 0.02190081
#> cwbfairness 0.002931682 -0.102902364 -0.15016429 -0.098319890 -0.15604137
#> cwbsustenance -0.225158405 -0.212148910 -0.09109671 -0.038366524 -0.06424219
#> cwbachieve -0.246264348 -0.226860835 -0.09649848 0.073134950 -0.09798160
#> cwbsatisf 0.079167894 0.181128270 0.09489558 -0.105687020 -0.37316840
#> cwbvalue -0.009156769 0.076619660 0.08807101 0.072908902 -0.06649426
#> cwbbelonging 1.000000000 0.409852801 0.23544925 -0.078426569 -0.13078798
#> cwbwelcome 0.409852801 1.000000000 0.35651544 -0.009625186 -0.23773738
#> cwbpurpose 0.235449248 0.356515439 1.00000000 0.129208938 -0.04332074
#> cwbcontrib -0.078426569 -0.009625186 0.12920894 1.000000000 0.13699792
#> cwbinterconn -0.130787979 -0.237737380 -0.04332074 0.136997916 1.00000000
#> cwbsynergy -0.246234969 -0.272653043 -0.03506969 0.249679020 0.64636567
#> cwbsynergy
#> cwbcloserel -0.196939941
#> cwbrespect -0.341415764
#> cwbtrust -0.365503949
#> cwbmutuality -0.179336397
#> cwbbeneficence -0.128399395
#> cwbintegrity -0.156809541
#> cwbcompetence -0.118087638
#> cwbvision -0.090453752
#> cwbrelgrowth 0.077586121
#> cwbfairness -0.212101119
#> cwbsustenance -0.063483089
#> cwbachieve -0.030344965
#> cwbsatisf -0.367128063
#> cwbvalue -0.001372632
#> cwbbelonging -0.246234969
#> cwbwelcome -0.272653043
#> cwbpurpose -0.035069693
#> cwbcontrib 0.249679020
#> cwbinterconn 0.646365673
#> cwbsynergy 1.000000000