powered by
Form the unit or identity matrix of order order.
matrix
order
mat.I(order)
A square matrix whose diagonal elements are one and its off-diagonal are zero.
The order of the matrix to be formed.
Chris Brien
mat.J, mat.ar1
mat.J
mat.ar1
col.I <- mat.I(order=4)
Run the code above in your browser using DataLab