powered by
Computes an orthonormal basis of the orthogonal complement of the column space of a given matrix.
compbasis(M, tol=sqrt(.Machine$double.eps))
Returns a semi-orthogonal matrix with columns forming an orthonormal basis of the orthogonal complement of the column space of M.
Matrix for which basis of the orthogonal complement of the column space is needed.
A relative tolerance to determine rank through qr decomposition (default = sqrt(.Machine$double.eps)).
Debasis Sengupta <shairiksengupta@gmail.com>, Jinwen Qiu <qjwsnow_ctw@hotmail.com>
Sengupta and Jammalamadaka (2019), Linear Models and Regression with R: An Integrated Approach.
compbasis(matrix(c(3,3,3,3),2,2))
Run the code above in your browser using DataLab