powered by
Create residual maker matrix from a given matrix m. See article about projection matrix on the Wikipedia.
m
residual_maker_matrix(m)
M x M matrix where M is the number of rows in the m matrix.
Matrix
residual_maker_matrix(matrix(c(1,2,3,4), nrow = 2))
Run the code above in your browser using DataLab