Learn R Programming

rspa (version 0.2.8)

rspa-package: A package for minimal vector adjustment.

Description

Given a vector \(\boldsymbol{x}^0\), and a set linear restrictions of the form \(\boldsymbol{a}_i\cdot\boldsymbol{x}_i=b_i\) and/or \(\boldsymbol{a}_i\cdot\boldsymbol{x}_i\leq b_i\) with \(i=1,2,\ldots,m\). This package finds the nearest vector to \(\boldsymbol{x}^0\) (in the (weighted) euclidean sense) that satisfies all restrictions.

Arguments

Details

Much of this package's functionality, including algorithms for working with large, sparse problems has been moved to the lintools package. This package will serve as a front-end for application of the succsessive projection algorithm for data stored in data.frame like objects.