Package: pecanr
Title: Partial Eta-Squared for Crossed, Nested, and Mixed Linear Mixed
        Models
Version: 0.2.0
Authors@R: c(
    person("Brandon", "Cohen", email = "brandon.cohen-1@colorado.edu",
           role = c("aut", "cre"),
           comment = c(ORCID = "0009-0004-1802-3435")),
    person("Joshua", "Correll", email = "joshua.correll@colorado.edu",
           role = c("aut", "ths"),
           comment = c(ORCID = "0000-0003-1142-459X")))
Description: Computes partial eta-squared effect sizes for fixed effects in
    linear mixed models fitted with the 'lme4' package. Supports crossed,
    nested, and mixed (crossed-and-nested) random effects structures with any
    number of grouping factors. Mixed designs handle cases where grouping
    factors are simultaneously crossed with some variables and nested within
    others (e.g., photos nested within models, but both crossed with
    participants). 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>.
License: MIT + file LICENSE
URL: https://github.com/bcohen0901/pecanr
BugReports: https://github.com/bcohen0901/pecanr/issues
Encoding: UTF-8
RoxygenNote: 7.3.3
Imports: lme4
Suggests: spelling, testthat (>= 3.0.0)
Config/testthat/edition: 3
Language: en-US
NeedsCompilation: no
Packaged: 2026-03-27 01:24:50 UTC; brandoncohen
Author: Brandon Cohen [aut, cre] (ORCID:
    <https://orcid.org/0009-0004-1802-3435>),
  Joshua Correll [aut, ths] (ORCID:
    <https://orcid.org/0000-0003-1142-459X>)
Maintainer: Brandon Cohen <brandon.cohen-1@colorado.edu>
Repository: CRAN
Date/Publication: 2026-04-12 02:20:02 UTC
