Rdocumentation
powered by
Learn R Programming
infoDecompuTE (version 0.5.1)
mK: Averging Matrix
Description
Construct a n-by-n averaging matrix.
Usage
mK(n)
Arguments
n
a numeric describes the dimension of the averaging matrix.
Value
This function returns a n-by-n square matrix with all elements equal 1/n.
References
John J, Williams E (1987).
Cyclic and computer generated Designs
. Second edition. Chapman & Hall.
Examples
Run this code
mK(
10
)
Run the code above in your browser using
DataLab