dbind: Diagonal bind for a matrix, source: Patrick Blisle,...

Description Usage Arguments Value

View source: R/dbind.R

Description

Diagonal bind for a matrix, source: Patrick Blisle, http://www.medicine.mcgill.ca/epidemiology/joseph/pbelisle/dbind.html

Usage

1
dbind(m, a, rev = F)

Arguments

m

Upper left matrix(or element)

a

Bottom right matrix

rev

reverces the order if necessary

Value

A new matrix with the two inputs in its block diagonal.


nuritovbek/lrem documentation built on May 4, 2019, 4:24 p.m.