powered by
Calculates the projection matrix for a full-rank matrix X with its number of rows greater than or equal to its number of columns
projMatrix(X)
Projection matrix of X.
X
nxp Matrix; must be full-rank and have n >= p
projMatrix(matrix(c(3,4,-1,2,1,1),3))
Run the code above in your browser using DataLab