pecanr: Partial Eta-Squared for Crossed and Nested Linear Mixed Models

Computes partial eta-squared effect sizes for fixed effects in linear mixed models fitted with the 'lme4' package. Supports crossed and nested random effects structures with any number of grouping factors. Random slope variances are translated to the outcome scale using a variance decomposition approach, correctly accounting for predictor scaling and interaction terms. Both general and operative effect sizes are provided. Methods are based on Correll, Mellinger, McClelland, and Judd (2020) <doi:10.1016/j.tics.2019.12.009>, Correll, Mellinger, and Pedersen (2022) <doi:10.3758/s13428-021-01687-2>, and Rights and Sterba (2019) <doi:10.1037/met0000184>.

Version: 0.1.2
Imports: lme4
Suggests: spelling, testthat (≥ 3.0.0)
Published: 2026-03-17
DOI: 10.32614/CRAN.package.pecanr (may not be active yet)
Author: Brandon Cohen ORCID iD [aut, cre], Joshua Correll ORCID iD [aut, ths]
Maintainer: Brandon Cohen <brandon.cohen-1 at colorado.edu>
BugReports: https://github.com/bcohen0901/pecanr/issues
License: MIT + file LICENSE
URL: https://github.com/bcohen0901/pecanr
NeedsCompilation: no
Language: en-US
Materials: README, NEWS
CRAN checks: pecanr results

Documentation:

Reference manual: pecanr.html , pecanr.pdf

Downloads:

Package source: pecanr_0.1.2.tar.gz
Windows binaries: r-devel: not available, r-release: pecanr_0.1.2.zip, r-oldrel: not available
macOS binaries: r-release (arm64): not available, r-oldrel (arm64): pecanr_0.1.2.tgz, r-release (x86_64): not available, r-oldrel (x86_64): not available

Linking:

Please use the canonical form https://CRAN.R-project.org/package=pecanr to link to this page.