Learn R Programming

infoDecompuTE (version 0.6.2)

unity: Construct a unity vector

Description

Construct a vector with all elements unity.

Usage

unity(n)

Arguments

n

a numeric describe the length of vector.

Value

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

References

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

Examples

Run this code
# NOT RUN {

unity(10)


# }

Run the code above in your browser using DataLab