hatMatrix: Calculate hat matrix

View source: R/doublyF.R

hatMatrixR 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


randomizeR documentation built on Sept. 19, 2023, 1:08 a.m.