powered by
Construct a vector with all elements unity.
unity(n)
a numeric describe the length of vector.
This function returns a \(n \\times 1\) matrix will all elements unity.
John J, Williams E (1987). Cyclic and computer generated Designs. Second edition. Chapman & Hall.
# NOT RUN { unity(10) # }
Run the code above in your browser using DataLab