Learn R Programming

doofa (version 1.0)

one: create a matrix of 1s with t rows

Description

create a matrix of 1s with t rows

Usage

one(t)

Value

a matrix of 1s with t rows

Arguments

t

a positive integer

Examples

Run this code
one(3);

Run the code above in your browser using DataLab