rtmpinv
Tabular Matrix Problems via Pseudoinverse Estimation
Description
The Tabular Matrix Problems via Pseudoinverse Estimation (TMPinv) is a two-stage estimation method that reformulates structured table-based systems - such as allocation problems, transaction matrices, and input-output tables - as structured least-squares problems. Based on the Convex Least Squares Programming (CLSP) framework, TMPinv solves systems with row and column constraints, block structure, and optionally reduced dimensionality by (1) constructing a canonical constraint form and applying a pseudoinverse-based projection, followed by (2) a convex-programming refinement stage to improve fit, coherence, and regularization (e.g., via Lasso, Ridge, or Elastic Net).
Downloads
1.7K
Last 30 days
3054th
2K
Last 90 days
2.2K
Last year
Trend: +720.8% (30d vs prior 30d)
CRAN Check Status
Show all 14 flavors
| Flavor | Status |
|---|---|
| r-devel-linux-x86_64-debian-clang | OK |
| r-devel-linux-x86_64-debian-gcc | OK |
| r-devel-linux-x86_64-fedora-clang | OK |
| r-devel-linux-x86_64-fedora-gcc | OK |
| r-devel-macos-arm64 | OK |
| r-devel-windows-x86_64 | OK |
| r-oldrel-macos-arm64 | OK |
| r-oldrel-macos-x86_64 | OK |
| r-oldrel-windows-x86_64 | OK |
| r-patched-linux-x86_64 | OK |
| r-release-linux-x86_64 | OK |
| r-release-macos-arm64 | OK |
| r-release-macos-x86_64 | OK |
| r-release-windows-x86_64 | OK |
Check History
OK 14 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Mar 17, 2026
ERROR 8 OK · 0 NOTE · 0 WARNING · 6 ERROR · 0 FAILURE Mar 10, 2026
tests
Running ‘testthat.R’ [3s/4s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
> library(testthat)
> library(rtmpinv)
>
> test_check("rtmpinv")
Saving _problems/test-tmpinv-30.R
Saving _problems/test-tmpinv-90.R
[ FAIL 2
...[truncated]...
matrix else as.vector)(y)
14. └─base::as.matrix.default(y)
15. └─base::array(...)
16. └─base::as.vector(data)
[ FAIL 2 | WARN 0 | SKIP 0 | PASS 0 ]
Error:
! Test failures.
Execution halted
tests
Running ‘testthat.R’
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
> library(testthat)
> library(rtmpinv)
>
> test_check("rtmpinv")
Saving _problems/test-tmpinv-30.R
Saving _problems/test-tmpinv-90.R
[ FAIL 2 | WARN
...[truncated]...
matrix else as.vector)(y)
14. └─base::as.matrix.default(y)
15. └─base::array(...)
16. └─base::as.vector(data)
[ FAIL 2 | WARN 0 | SKIP 0 | PASS 0 ]
Error:
! Test failures.
Execution halted
tests
Running 'testthat.R' [3s]
Running the tests in 'tests/testthat.R' failed.
Complete output:
> library(testthat)
> library(rtmpinv)
>
> test_check("rtmpinv")
Saving _problems/test-tmpinv-30.R
Saving _problems/test-tmpinv-90.R
[ FAIL 2 |
...[truncated]...
matrix else as.vector)(y)
14. └─base::as.matrix.default(y)
15. └─base::array(...)
16. └─base::as.vector(data)
[ FAIL 2 | WARN 0 | SKIP 0 | PASS 0 ]
Error:
! Test failures.
Execution halted
tests
Running ‘testthat.R’ [3s/5s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
> library(testthat)
> library(rtmpinv)
>
> test_check("rtmpinv")
Saving _problems/test-tmpinv-30.R
Saving _problems/test-tmpinv-90.R
[ FAIL 2
...[truncated]...
matrix else as.vector)(y)
14. └─base::as.matrix.default(y)
15. └─base::array(...)
16. └─base::as.vector(data)
[ FAIL 2 | WARN 0 | SKIP 0 | PASS 0 ]
Error:
! Test failures.
Execution halted
tests
Running 'testthat.R' [3s]
Running the tests in 'tests/testthat.R' failed.
Complete output:
> library(testthat)
> library(rtmpinv)
>
> test_check("rtmpinv")
Saving _problems/test-tmpinv-30.R
Saving _problems/test-tmpinv-90.R
[ FAIL 2 |
...[truncated]...
matrix else as.vector)(y)
14. └─base::as.matrix.default(y)
15. └─base::array(...)
16. └─base::as.vector(data)
[ FAIL 2 | WARN 0 | SKIP 0 | PASS 0 ]
Error:
! Test failures.
Execution halted
tests
Running 'testthat.R' [4s]
Running the tests in 'tests/testthat.R' failed.
Complete output:
> library(testthat)
> library(rtmpinv)
>
> test_check("rtmpinv")
Saving _problems/test-tmpinv-30.R
Saving _problems/test-tmpinv-90.R
[ FAIL 2 |
...[truncated]...
matrix else as.vector)(y)
14. └─base::as.matrix.default(y)
15. └─base::array(...)
16. └─base::as.vector(data)
[ FAIL 2 | WARN 0 | SKIP 0 | PASS 0 ]
Error:
! Test failures.
Execution halted