hatMatrix {randomizeR} | R Documentation |
Calculate hat matrix
Description
Calculate hat matrix
Usage
hatMatrix(M)
Arguments
M |
Design Matrix representing the randomization sequence |
Value
Hat matrix, i.e. M * (M^T M)^{-1} M^T
[Package randomizeR version 3.0.2 Index]