oes: Optimal Effect-Size-Based Y-Axis Ranges

Calculates effect-size-informed y-axis recommendations for visualizations of independent, repeated-measures, and mixed designs. Summarizes selected error bars, estimates conditional standardized contrasts, and generalizes range-expansion rules using constants from single-factor, two-level studies of Cohen's d. Recommendations beyond that studied setting have not been empirically validated. Provides numerical results and 'ggplot2' visualizations, including summary plots and preservation of supplied plot layouts. Confidence-interval adjustment options follow the distinctions in Cousineau (2017) <doi:10.5709/acp-0214-z>, including difference adjustment and combined repeated-measures adjustment. Within-subject base intervals use the normalization of Cousineau (2005) <doi:10.20982/tqmp.01.1.p042> with the bias correction of Morey (2008) <doi:10.20982/tqmp.04.2.p061>. Correlation-only intervals and intervals with both adjustments are separate options. These references support confidence-interval construction, not the range-expansion calibration.

Version: 1.0.0
Depends: R (≥ 4.1.0)
Imports: dplyr (≥ 1.0.0), ggplot2 (≥ 4.0.0), rlang (≥ 1.0.0), rstatix (≥ 0.7.2), stats, utils
Suggests: ggsci, testthat (≥ 3.0.0)
Published: 2026-10-21
DOI: 10.32614/CRAN.package.oes (may not be active yet)
Author: Shuo Zang ORCID iD [aut, cre, cph] (affiliation: School of Psychology, University of Ottawa), Denis Cousineau [aut, cph] (affiliation: School of Psychology, University of Ottawa)
Maintainer: Shuo Zang <zshuo070 at gmail.com>
License: MIT + file LICENSE
NeedsCompilation: no
Citation: oes citation info
Materials: README, NEWS
CRAN checks: oes results

Documentation:

Reference manual: oes.html , oes.pdf

Downloads:

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

Linking:

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