Form the unit or identity matrix of order order.
matrix
order
mat.I(order)
The order of the matrix to be formed.
A square matrix whose diagonal elements are one and its off-diagonal are zero.
mat.J, mat.ar1
mat.J
mat.ar1
# NOT RUN { col.I <- mat.I(order=4) # }
Run the code above in your browser using DataCamp Workspace