projMatrix {smallstuff}R 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))

[Package smallstuff version 1.0.3 Index]