as.blockmatrix S3 method for blockmatrix, matrix and NULL objectas.blockmatrix S3 method for blockmatrix,
matrix and NULL object
as.blockmatrix(M = NULL, ...)
"as.blockmatrix" (M, adjust_zero = TRUE, zero_element = "0", ...)
"as.blockmatrix" (M, adjust_zero = TRUE, add_zero_matrix = FALSE, zero_element = "0", ...)
"as.blockmatrix" (M, nrowe = 2, ncole = 2, nrow = NULL, ncol = NULL, adjust_zero = TRUE, zero_element = "0", ...)matrix or blockmatrix objectTRUE
(Default) it replaces the zero matrices with
zero_element.TRUE it
adds a zero-element element matrix as an object called
zero_element in the blockmatrixncol_elements or
nrow_elements