hmult | R Documentation |
Hadamard product, i.e., element by element product of matrix df1
and matrix df2
(by blocks). Both matrices must be block matrices, and the
number and dimension of blocks in matrix df1
and df2
must be
compatible.
hmult(df1, df2)
df1 |
A block matrix with named rows and columns (country/sector) |
df2 |
A block matrix with named rows and columns (country/sector) |
In a Hadamard product, matrices are multiplied block by block,
i.e., block (s,r) %*% block(s,r)
.
Hadamard product of the two matrices.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.