This function is adopted from migest package.
Arguments
- x
Vector of numbers to identify each block.
- b
Numeric value for the size of the blocks within the matrix ordered depending on byrow
- byrow
logical value. If FALSE (the default) the blocks are filled by columns, otherwise the blocks in the matrix are filled by rows.
- dimnames
Character string of name attribute for the basis of the block matrix. If NULL a vector of the same length of b provides the basis of row and column names.#'.