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)

kcha193/infoDecompuTE documentation built on April 20, 2020, 8:30 a.m.