Learn R Programming

ADtools (version 0.5.4)

one_matrix: Matrix of ones

Description

Matrix of ones

Usage

one_matrix(nr, nc)

Arguments

nr

integer; row dimension.

nc

integer; column dimension.

Examples

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

# }

Run the code above in your browser using DataLab