Learn R Programming

ADtools (version 0.5.4)

zero_matrix: Matrix of zeroes

Description

Matrix of zeroes

Usage

zero_matrix(nr, nc)

Arguments

nr

integer; row dimension.

nc

integer; column dimension.

Examples

Run this code
# NOT RUN {
zero_matrix(1, 3)
zero_matrix(5, 1)
zero_matrix(2, 2)

# }

Run the code above in your browser using DataLab