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.#'
Value
Returns a matrix with block sizes determined by the b argument. Each block is filled with the same value taken from x.