TO BE PRECISED.

coherency(A, B = NULL, rows = NULL, cols = NULL, fill = 0)

Arguments

A

matrix, or something that can be converted is a matrix with as.matrix.

B

matrix, or something that can be converted is a matrix with as.matrix. May be NULL.

rows

integer, TO BE PRECISED. Default to NULL.

cols

integer, TO BE PRECISED. Default to NULL.

fill

nuemeric, TO BE PRECISED. Default to O.

Value

matrix, TO BE PRECISED.

Examples

A = matrix(1, 3, 3, dim = list(c("a", "b", "c"), 1:3))
B = matrix(c(0,2), 4, 4, dim = list(4:7, 2:5))
coherency(A, B, rows = 0, cols = 0)
#>   1 2 3 4 5
#> a 1 1 1 0 0
#> b 1 1 1 0 0
#> c 1 1 1 0 0
#> 5 0 2 2 2 2
#> 7 0 2 2 2 2