eye {matlab} | R Documentation |
Create an identity matrix.
eye(n, m = n)
n, m |
numeric scalar specifying dimensions for the result |
Returns matrix of order 1.
Defaults to square if second dimension argument m
not provided.
P. Roebuck, roebuck@mdanderson.org
eye(3)