identityMat: Identity Matrix

Description Usage Arguments Value Author(s) References See Also Examples

View source: R/identityMat.R

Description

Construct an identity matrix.

Usage

1

Arguments

n

a numeric describes the dimension of the identity matrix.

Value

This function returns a matrix with the diagonal elements equal to one and the off-diagonal elements equal to zero.

Author(s)

Kevin

References

John J, Williams E (1987). Cyclic and computer generated Designs. Second edition. Chapman & Hall.

See Also

diag

Examples

1

infoDecompuTE documentation built on May 29, 2018, 9:05 a.m.