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-devel/clever documentation built on Dec. 22, 2021, 12:12 a.m.