Learn R Programming

infoDecompuTE (version 0.6.2)

K: Averaging Matrix

Description

Construct a n-by-n averaging matrix.

Usage

K(n)

Arguments

n

a numeric describes the dimension of the averaging matrix.

Value

This function returns a \(n \times 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
# NOT RUN {

K(10)


# }

Run the code above in your browser using DataLab