Learn R Programming

boot (version 1.2-10)

iden: Construct special matrices

Description

Construct identity or zero matrices of given sizes

Usage

iden(n)
zero(n,m)

Arguments

n
Number of rows in the output matrix
m
Number of columns in the output matrix of zero

Value

  • A matrix of the appropriate dimensions.