hat_mat: Hat matrix

Description Usage Arguments Value

View source: R/CompCor.R

Description

Get the hat matrix of X after adding a column of ones (for the intercept).

Usage

1

Arguments

X

Numeric matrix. A column of ones will be added for the intercept.

Value

The hat matrix, a square matrix with the same number of rows/columns as the number of rows in X.


neuroconductor-releases/clever documentation built on Jan. 1, 2021, 11:37 a.m.