blockdiagSymb: Embed two matrices into one blockdiagonal matrix

View source: R/tools.R

blockdiagSymbR Documentation

Embed two matrices into one blockdiagonal matrix

Description

Embed two matrices into one blockdiagonal matrix

Usage

blockdiagSymb(M, N)

Arguments

M

matrix of type character

N

matrix of type character

Value

Matrix of type character containing M and N as upper left and lower right block

Examples

M <- matrix(1:9, 3, 3, dimnames = list(letters[1:3], letters[1:3]))
N <- matrix(1:4, 2, 2, dimnames = list(LETTERS[1:2], LETTERS[1:2]))
blockdiagSymb(M, N)

dkaschek/dMod documentation built on May 9, 2024, 2:07 a.m.