ones: Ones Vector

Description Usage Arguments Value Examples

View source: R/helpers.r

Description

Make a column vector of ones.

Usage

1
ones(n)

Arguments

n

how many ones

Value

a column vector of ones as an integer matrix

Examples

1
2
ones(5)
str(ones(5))

algstat documentation built on May 29, 2017, 10:34 p.m.

Related to ones in algstat...