Learn R Programming

mdatools (version 0.11.5)

eye: Create the identity matrix

Description

Create the identity matrix

Usage

eye(n)

Arguments

n

Size of the matrix

Value

The identity matrix (n x n)