Ensure a Design Matrix has Full (Column) Rank
Determine and drop redundant columns using the qr
decomposition.
ensure_full_rank(X, tol = 1e-07, silent = FALSE, test.ans = FALSE)
X |
a design matrix as produced by |
tol |
|
silent |
throw message if columns are dropped from |
test.ans |
Test if the resulting/returned matrix has full rank? Default
is |
A design matrix in which redundant columns are dropped
Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.