compbasis: Basis of orthogonal complement of column space of a matrix

Description Usage Arguments Value Author(s) References Examples

View source: R/compbasis.R

Description

Computes an orthonormal basis of the orthogonal complement of the column space of a given matrix.

Usage

1
compbasis(M, tol=sqrt(.Machine$double.eps))

Arguments

M

Matrix for which basis of the orthogonal complement of the column space is needed.

tol

A relative tolerance to determine rank through qr decomposition
(default = sqrt(.Machine$double.eps)).

Value

Returns a semi-orthogonal matrix with columns forming an orthonormal basis of the orthogonal complement of the column space of M.

Author(s)

Debasis Sengupta <shairiksengupta@gmail.com>, Jinwen Qiu <qjwsnow_ctw@hotmail.com>

References

Sengupta and Jammalamadaka (2019), Linear Models and Regression with R: An Integrated Approach.

Examples

1
compbasis(matrix(c(3,3,3,3),2,2))

lmreg documentation built on May 2, 2019, 9:29 a.m.

Related to compbasis in lmreg...