projMatrix: Create the Projection Matrix of a Matrix

View source: R/projMatrix.R

projMatrixR Documentation

Create the Projection Matrix of a Matrix

Description

Calculates the projection matrix for a full-rank matrix X with its number of rows greater than or equal to its number of columns

Usage

projMatrix(X)

Arguments

X

nxp Matrix; must be full-rank and have n >= p

Value

Projection matrix of X.

Examples

projMatrix(matrix(c(3,4,-1,2,1,1),3))

smallstuff documentation built on May 29, 2024, 2:19 a.m.