Construct correlations

Description
The correlations between constructs are used in a lot of occasions, indices etc, and present a standard statistic. Several types of correlations can be requested:
 * Pearson or Product-moment correlation (PMC)
 * Kendall's tau rank correlation
 * Spearman's rank correlation

R-Code
> constructCor(mackay1992)

Correlation between constructs

Type of correlation: pearson

1   2    3    4    5    6 Quick - *Slow       1   0.38 0.77 0.13 0.52 0.29 Talkative - *Quiet 3             0.14 0.72 0.58 Emotional - *Calm  5                       0.92
 * Satisfied - Bitter 2       0.18 0.82 0.56 0.29
 * Succesful - Loser 4                  0.64 0.47
 * Caring - Selfish  6

Requesting Spearman rank correlations. > constructCor(mackay1992, method="spearman")

Correlation between constructs

Type of correlation: spearman

1  2    3    4    5    6 Quick - *Slow       1   0.5 0.83    0 0.56 0.19 Talkative - *Quiet 3               0 0.39 0.21 Emotional - *Calm  5                      0.81
 * Satisfied - Bitter 2      0.09 0.56 0.64 0.13
 * Succesful - Loser 4                 0.69 0.49
 * Caring - Selfish  6

To format the output several arguments are available. constructCor(mackay1992, upper=F) constructCor(mackay1992, col.index=F, trim=6) constructCor(mackay1992, index=T, col.index=F, trim=6)

To save the correlations in an object for further without printing to the console. > r <- constructCor(mackay1992, trim=6, out=0) > r         Qui - *Sl *Sa - Bit Tal - *Qu *Su - Los Emo - *Ca *Ca - Sel Qui - *Sl     1.00      0.38      0.77      0.13      0.52      0.29 Tal - *Qu     0.77      0.18      1.00      0.14      0.72      0.58 Emo - *Ca     0.52      0.56      0.72      0.64      1.00      0.92
 * Sa - Bit     0.38      1.00      0.18      0.82      0.56      0.29
 * Su - Los     0.13      0.82      0.14      1.00      0.64      0.47
 * Ca - Sel     0.29      0.29      0.58      0.47      0.92      1.00