dae (version 3.1-23)

mat.I: Forms a unit matrix

Description

Form the unit or identity matrix of order order.

Usage

mat.I(order)

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

Run this code
# NOT RUN {
    col.I <- mat.I(order=4)
# }

Run the code above in your browser using DataCamp Workspace