View source: R/helper_functions.R
The function returns kronecker(diag(nrep), Amat), but is computed more efficiently
1 | blockDiag(Amat, nrep)
|
Amat |
matrix to populate the diagaonal blocks |
nrep |
number of blocks on the diagonal |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.