Learn R Programming

markovchain (version 0.9.5)

ones: Returns an Identity matrix

Description

Returns an Identity matrix

Usage

ones(n)

Value

a identity matrix

Arguments

n

size of the matrix