givens_orth {MASSExtra} | R Documentation |
Orthogonalization using Givens' method.
givens_orth(X, nullspace = FALSE)
X |
a numeric matrix with ncol(X) <= nrow(X) |
nullspace |
logical: do you want an orthogonal basis for the null space? |
A list with components Q, R, as normally defined, and if nullspace is TRUE a further component N giving the basis for the requested null space of X
set.seed(1234)
X <- matrix(rnorm(7*6), 7)
givens_orth(X, nullspace = TRUE)