panelr
Regression Models and Utilities for Repeated Measures and Panel Data
Description
Provides an object type and associated tools for storing and wrangling panel data. Implements several methods for creating regression models that take advantage of the unique aspects of panel data. Among other capabilities, automates the "within-between" (also known as "between-within" and "hybrid") panel regression specification that combines the desirable aspects of both fixed effects and random effects econometric models and fits them as multilevel models (Allison, 2009 <doi:10.4135/9781412993869.d33>; Bell & Jones, 2015 <doi:10.1017/psrm.2014.7>). These models can also be estimated via generalized estimating equations (GEE; McNeish, 2019 <doi:10.1080/00273171.2019.1602504>) and Bayesian estimation is (optionally) supported via 'Stan'. Supports estimation of asymmetric effects models via first differences (Allison, 2019 <doi:10.1177/2378023119826441>) as well as a generalized linear model extension thereof using GEE.
Downloads
1.4K
Last 30 days
3234th
9.8K
Last 90 days
53.4K
Last year
Trend: -69.2% (30d vs prior 30d)
CRAN Check Status
Show all 8 flavors
| Flavor | Status |
|---|---|
| r-devel-linux-x86_64-debian-gcc | OK |
| r-devel-linux-x86_64-fedora-clang | OK |
| r-devel-macos-arm64 | OK |
| r-devel-windows-x86_64 | OK |
| r-oldrel-macos-arm64 | OK |
| r-oldrel-macos-x86_64 | OK |
| r-release-macos-arm64 | OK |
| r-release-macos-x86_64 | OK |
Check History
OK 6 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Apr 3, 2026
ERROR 5 OK · 0 NOTE · 0 WARNING · 9 ERROR · 0 FAILURE Mar 10, 2026
tests
Running ‘testthat.R’ [72s/87s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
> library(testthat)
> library(panelr)
Loading required package: lme4
Loading required package: Matrix
Attaching package: 'panelr'
The fo
...[truncated]...
r:::lazy_defunct("mutate")
8. └─lifecycle::deprecate_stop(...)
9. └─lifecycle:::deprecate_stop0(msg)
10. └─rlang::cnd_signal(...)
[ FAIL 1 | WARN 0 | SKIP 0 | PASS 409 ]
Error:
! Test failures.
Execution halted
tests
Running ‘testthat.R’ [48s/55s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
> library(testthat)
> library(panelr)
Loading required package: lme4
Loading required package: Matrix
Attaching package: 'panelr'
The fo
...[truncated]...
r:::lazy_defunct("mutate")
8. └─lifecycle::deprecate_stop(...)
9. └─lifecycle:::deprecate_stop0(msg)
10. └─rlang::cnd_signal(...)
[ FAIL 1 | WARN 0 | SKIP 0 | PASS 409 ]
Error:
! Test failures.
Execution halted
tests
Running ‘testthat.R’ [101s/224s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
> library(testthat)
> library(panelr)
Loading required package: lme4
Loading required package: Matrix
Attaching package: 'panelr'
The
...[truncated]...
r:::lazy_defunct("mutate")
8. └─lifecycle::deprecate_stop(...)
9. └─lifecycle:::deprecate_stop0(msg)
10. └─rlang::cnd_signal(...)
[ FAIL 1 | WARN 0 | SKIP 0 | PASS 409 ]
Error:
! Test failures.
Execution halted
tests
Running ‘testthat.R’ [128s/268s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
> library(testthat)
> library(panelr)
Loading required package: lme4
Loading required package: Matrix
Attaching package: 'panelr'
The
...[truncated]...
r:::lazy_defunct("mutate")
8. └─lifecycle::deprecate_stop(...)
9. └─lifecycle:::deprecate_stop0(msg)
10. └─rlang::cnd_signal(...)
[ FAIL 1 | WARN 0 | SKIP 0 | PASS 409 ]
Error:
! Test failures.
Execution halted
tests
Running 'testthat.R' [58s]
Running the tests in 'tests/testthat.R' failed.
Complete output:
> library(testthat)
> library(panelr)
Loading required package: lme4
Loading required package: Matrix
Attaching package: 'panelr'
The follow
...[truncated]...
r:::lazy_defunct("mutate")
8. └─lifecycle::deprecate_stop(...)
9. └─lifecycle:::deprecate_stop0(msg)
10. └─rlang::cnd_signal(...)
[ FAIL 1 | WARN 0 | SKIP 0 | PASS 409 ]
Error:
! Test failures.
Execution halted
tests
Running ‘testthat.R’ [75s/97s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
> library(testthat)
> library(panelr)
Loading required package: lme4
Loading required package: Matrix
Attaching package: 'panelr'
The fo
...[truncated]...
r:::lazy_defunct("mutate")
8. └─lifecycle::deprecate_stop(...)
9. └─lifecycle:::deprecate_stop0(msg)
10. └─rlang::cnd_signal(...)
[ FAIL 1 | WARN 0 | SKIP 0 | PASS 409 ]
Error:
! Test failures.
Execution halted
tests
Running ‘testthat.R’ [71s/90s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
> library(testthat)
> library(panelr)
Loading required package: lme4
Loading required package: Matrix
Attaching package: 'panelr'
The fo
...[truncated]...
r:::lazy_defunct("mutate")
8. └─lifecycle::deprecate_stop(...)
9. └─lifecycle:::deprecate_stop0(msg)
10. └─rlang::cnd_signal(...)
[ FAIL 1 | WARN 0 | SKIP 0 | PASS 409 ]
Error:
! Test failures.
Execution halted
tests
Running 'testthat.R' [59s]
Running the tests in 'tests/testthat.R' failed.
Complete output:
> library(testthat)
> library(panelr)
Loading required package: lme4
Loading required package: Matrix
Attaching package: 'panelr'
The follow
...[truncated]...
r:::lazy_defunct("mutate")
8. └─lifecycle::deprecate_stop(...)
9. └─lifecycle:::deprecate_stop0(msg)
10. └─rlang::cnd_signal(...)
[ FAIL 1 | WARN 0 | SKIP 0 | PASS 409 ]
Error:
! Test failures.
Execution halted
tests
Running 'testthat.R' [87s]
Running the tests in 'tests/testthat.R' failed.
Complete output:
> library(testthat)
> library(panelr)
Loading required package: lme4
Loading required package: Matrix
Attaching package: 'panelr'
The follow
...[truncated]...
r:::lazy_defunct("mutate")
8. └─lifecycle::deprecate_stop(...)
9. └─lifecycle:::deprecate_stop0(msg)
10. └─rlang::cnd_signal(...)
[ FAIL 1 | WARN 0 | SKIP 0 | PASS 409 ]
Error:
! Test failures.
Execution halted