Description Usage Arguments Value Author(s) Examples
The key matrix is used to specify any number of weighted item composites. A correlation matrix of these composites and the original correlation matrix is then computed and returned.
1 |
r_mat |
A correlation matrix. |
wt |
A matrix with one row for each composite and one column for
each item contained in |
type |
The type of output desired. |
If type
= "cxc" then a matrix of the intercorrelations between the specified
composites are returned.
If type
= "full" then all the intercorrelations between both the
original items and the specified composites are returned.
Allen Goebl and Jeff Jones
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 | Rxx <- matrix(c(1.00, 0.25, 0.50, 0.61,
0.25, 1.00, 0.30, 0.10,
0.50, 0.30, 1.00, -0.30,
0.61, 0.10, -0.30, 1.00), 4, 4); Rxx
# Single composite
wt <- matrix(c(1, 2, 3, -1), 1, 4); wt
fuseMat(r_mat = Rxx, wt = wt)
# Three composites
wt <- matrix(c(1, 2, 3, -1,
2, 1, 0, -2,
1, 1, 0, 0), 3, 4, byrow = TRUE)
fuseMat(Rxx, wt)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.