Rdocumentation
powered by
Learn R Programming
algstat (version 0.0.2)
ones: Ones Vector
Description
Make a column vector of ones.
Usage
ones(n)
Arguments
n
how many ones
Value
a column vector of ones as an integer matrix
Examples
Run this code
ones(
5
)
str(ones(
5
))
Run the code above in your browser using
DataLab