unity: Construct a unity vector

Description Usage Arguments Value Author(s) References Examples

View source: R/unity.R

Description

Construct a vector with all elements unity.

Usage

1
unity(n)

Arguments

n

a numeric describe the length of vector.

Value

This function returns a n \\times 1 matrix will all elements unity.

Author(s)

Kevin Chang

References

John J, Williams E (1987). Cyclic and computer generated Designs. Second edition. Chapman & Hall.

Examples

1
unity(10)

infoDecompuTE documentation built on May 29, 2018, 9:05 a.m.