Learn R Programming

fastQR (version 1.0.0)

Fast QR Decomposition and Update

Description

Efficient algorithms for performing, updating, and downdating the QR decomposition, R decomposition, or the inverse of the R decomposition of a matrix as rows or columns are added or removed. It also includes functions for solving linear systems of equations, normal equations for linear regression models, and normal equations for linear regression with a RIDGE penalty. For a detailed introduction to these methods, see the book by Golub and Van Loan (2013, ) for complete introduction to the methods.

Copy Link

Version

Install

install.packages('fastQR')

Monthly Downloads

1

Version

1.0.0

License

GPL (>= 2)

Maintainer

Mauro Bernardi

Last Published

February 4th, 2025

Functions in fastQR (1.0.0)

qr

The QR factorization of a matrix
qrridge

RIDGE estimation for the linear regression model
qrdowndate

Fast downdating of the QR factorization
qrridge_cv

Cross-validation of the RIDGE estimator for the linear regression model
qrmls

Ordinary least squares for the linear multivariate regression model
qrsolve

Solution of linear system of equations, via the QR decomposition.
qrls

Ordinary least squares for the linear regression model
qrmridge

RIDGE estimator for the linear multivariate regression model
qrmridge_cv

Cross-validation of the RIDGE estimator for the linear multivariate regression model
qrchol

Cholesky decomposition via QR factorization.
rdowndate

Fast downdating of the R matrix
qrupdate

Fast updating of the QR factorization
rupdate

Fast updating of the R matrix
rchol

Cholesky decomposition via R factorization.