identityMat {infoDecompuTE}R Documentation

Identity Matrix

Description

Construct an identity matrix.

Usage

identityMat(n)

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



identityMat(10)



[Package infoDecompuTE version 0.6.2 Index]