Skip to content

panelr

Regression Models and Utilities for Repeated Measures and Panel Data

v1.0.1 · Apr 3, 2026 · MIT + file LICENSE

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

8 OK
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
Archived
Mar 18, 2026
ERROR 5 OK · 0 NOTE · 0 WARNING · 9 ERROR · 0 FAILURE Mar 10, 2026
ERROR r-devel-linux-x86_64-debian-clang

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
ERROR r-devel-linux-x86_64-debian-gcc

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
ERROR r-devel-linux-x86_64-fedora-clang

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
ERROR r-devel-linux-x86_64-fedora-gcc

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
ERROR r-devel-windows-x86_64

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
ERROR r-patched-linux-x86_64

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
ERROR r-release-linux-x86_64

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
ERROR r-release-windows-x86_64

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
ERROR r-oldrel-windows-x86_64

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

Reverse Dependencies (2)

suggests

Dependency Network

Dependencies Reverse dependencies lme4 crayon dplyr Formula ggplot2 jtools lmerTest magrittr purrr rlang stringr tibble (>= 2.0.0) tidyr reformulas vctrs (>= 0.4.0) insight parameters panelr

Version History

new 1.0.1 Apr 3, 2026
removed 1.0.0 Mar 18, 2026
new 1.0.0 Mar 10, 2026
updated 1.0.0 ← 0.7.8 diff Jan 20, 2026
updated 0.7.8 ← 0.7.7 diff Aug 21, 2023
updated 0.7.7 ← 0.7.6 diff Feb 8, 2023
updated 0.7.6 ← 0.7.5 diff Dec 16, 2021
updated 0.7.5 ← 0.7.4 diff Jan 17, 2021
updated 0.7.4 ← 0.7.3 diff Sep 23, 2020
updated 0.7.3 ← 0.7.2 diff Jun 22, 2020
updated 0.7.2 ← 0.7.1 diff Mar 7, 2020
updated 0.7.1 ← 0.7.0 diff Jul 11, 2019
new 0.7.0 May 15, 2019