arma_reshape | R Documentation |
reshape mm for blockwise multiplication in wls_est
arma_reshape(mm, sizetheta)
mm |
a matrix |
sizetheta |
integer of length(theta) to shrink mm into |
mm <- matrix(c(11,21,31,41,
12,22,32,42,
13,23,33,43,
14,24,34,44),
ncol = 4)
mm_a <- arma_reshape(mm, 2)
mm_m <- matrix(t(mm), nrow = 2, byrow = TRUE)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.