View source: R/GPSR-preprocess.R
GPSubspacePrepQR | R Documentation |
Preprocessing via Householder QR with column pivoting
GPSubspacePrepQR(X, transposeR = TRUE)
X |
Concatenated orthonormal bases. |
transposeR |
Whether to transpose the R matrix, which saves the transpose in solving linear equations in prediction. |
A list: Pt, transpose of the column pivot matrix.
R's base::qr()
uses LINPACK's DQRDC
for Householder QR with column pivoting.
The C++ library Eigen has ColPivHouseholderQR
, which may be faster
and can be accessed via RcppEigen
.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.