Description Usage Arguments Author(s)
View source: R/as.blockmatrix.matrix.R
as.blockmatrix
S3 method for blockmatrix
,
matrix
and NULL
object
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 | as.blockmatrix(M = NULL, ...)
## Default S3 method:
as.blockmatrix(M, adjust_zero = TRUE,
zero_element = "0", ...)
## S3 method for class 'blockmatrix'
as.blockmatrix(M,
adjust_zero = TRUE, add_zero_matrix = FALSE,
zero_element = "0", ...)
## S3 method for class 'matrix'
as.blockmatrix(M, nrowe = 2, ncole = 2,
nrow = NULL, ncol = NULL, adjust_zero = TRUE,
zero_element = "0", ...)
|
M |
a |
nrowe |
number of rows for each block (element of the blockmatrix) |
ncole |
number of columns for each block (element of the blockmatrix) |
nrow |
number of rows for block-matrix |
ncol |
number of columns of blockmatrix |
adjust_zero |
logical value. If |
add_zero_matrix |
logical value. If |
zero_element |
see |
... |
further arguments |
Emanuele Cordano
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.