# ------------------------------------------------ # CITATION.cff file created with {cffr} R package # See also: https://docs.ropensci.org/cffr/ # ------------------------------------------------ cff-version: 1.2.0 message: 'To cite package "powerutilities" in publications use:' type: software license: BSD-3-Clause title: 'powerutilities: Power Analysis for Linear and Generalized Linear Mixed Models' version: 0.7.1 doi: 10.32614/CRAN.package.powerutilities abstract: Prospective power analysis and design planning using the "plug-in" approach described by Piepho et al. (2022) and Stroup, Ptukhina and Garai (2024) . Expected treatment means and the proposed experimental design are encoded in an artificial data set, and a model is "fit" to it with random effect variances, correlations and residual dispersion fixed at user-specified values rather than being estimated. The resulting standard errors are used to compute the power of F-tests and user-defined contrasts, as well as Type S (sign) and Type M (magnitude) error rates (Gelman and Carlin, 2014 ). Models are fit with 'glmmTMB', so the approach accommodates non-normal responses, heteroscedasticity, nested and crossed random effects, correlated random slopes, and structured covariances such as AR(1) and spatial correlation. Helper functions convert standard deviations and correlations into the internal parameterization of 'glmmTMB' and report the order in which random effect parameters must be supplied. Denominator degrees of freedom can be computed by the Kenward-Roger, residual or asymptotic methods (or can be specified by users), and contrasts are specified through 'emmeans'. Vignettes cover estimated marginal means, contrast specification, and worked examples for common agricultural designs. authors: - family-names: Riley given-names: Simon email: ssriley@protonmail.com orcid: https://orcid.org/0000-0002-4833-2026 repository: https://simonshamusriley.r-universe.dev repository-code: https://github.com/SimonShamusRiley/powerutilities commit: 1cc2ac973428ccb02fb5e07cfa275a0326813e95 url: https://github.com/SimonShamusRiley/powerutilities/tree/main date-released: '2026-10-13' contact: - family-names: Riley given-names: Simon email: ssriley@protonmail.com orcid: https://orcid.org/0000-0002-4833-2026