powered by
Computes an orthonormal basis of the column space of a given matrix.
basis(M, tol=sqrt(.Machine$double.eps))
Matrix for which basis of the column space is needed.
A relative tolerance to determine rank through qr decomposition (default = sqrt(.Machine$double.eps)).
Returns a semi-orthogonal matrix with columns forming an orthonormal basis of the column space of M.
Sengupta and Jammalamadaka (2019), Linear Models and Regression with R: An Integrated Approach.
# NOT RUN { basis(matrix(c(2,1,3,4,2,3,2,6,4,2,6,8),4,3)) # }
Run the code above in your browser using DataLab