mat.I: Forms a unit matrix

Description

Form the unit or identity matrix of order order.

Usage

1

Arguments

order

The order of the matrix to be formed.

Value

A square matrix whose diagonal elements are one and its off-diagonal are zero.

See Also

mat.J, mat.ar1

Examples

1
    col.I <- mat.I(order=4)

Questions? Problems? Suggestions? or email at ian@mutexlabs.com.

All documentation is copyright its authors; we didn't write any of that.