block_matrix.Rd
This function is adopted from migest package.
block_matrix(x = NULL, b = NULL, byrow = FALSE, dimnames = NULL)
Vector of numbers to identify each block.
Numeric value for the size of the blocks within the matrix ordered depending on byrow
logical value. If FALSE (the default) the blocks are filled by columns, otherwise the blocks in the matrix are filled by rows.
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.#'.
Returns a matrix with block sizes determined by the b argument. Each block is filled with the same value taken from x.