diag2: A convenient version of diag

Description Usage Arguments Value Author(s)

Description

text

Usage

1
diag2(x = 1, nrow, ncol, off = 0)

Arguments

x

a value to be filled

nrow

nrow

ncol

ncol

off

an integer. location of off-diagonal

Value

Test results

Author(s)

Dongjun You


qpsy/hotelhd documentation built on May 26, 2019, 12:34 p.m.