Generative simulation of experimental and behavioural data sets from a portable JavaScript Object Notation (JSON) design specification shared with the 'Python' package of the same name. Supports user-specified fixed effect sizes, crossed by-subject and by-item random intercepts and slopes, predictors measured with error, realistic response families (Gaussian, lognormal, shifted lognormal, ex-Gaussian, Bernoulli, Poisson, ordinal and Beta), and simulation-based power and precision-based design analysis, including the Type S and Type M errors of Gelman and Carlin (2014) <doi:10.1177/1745691614551642> and a region of practical equivalence. A shared cross-language random-number generator means that, given the same specification and seed, the R and 'Python' implementations produce identical data: exactly for the Gaussian family and for any family with rounding set, and to within the last unit in the last place for families applying a transcendental function to the linear predictor, whose rounding the IEEE-754 standard does not fix.
| Version: | 0.3.0 |
| Depends: | R (≥ 4.0.0) |
| Imports: | jsonlite, parallel, stats |
| Suggests: | shiny, future, promises, ggplot2 (≥ 3.4.0), lme4, lmerTest, callr, knitr, rmarkdown, testthat (≥ 3.0.0), MASS |
| Published: | 2026-09-12 |
| DOI: | 10.32614/CRAN.package.pilotr (may not be active yet) |
| Author: | Pablo Bernabeu |
| Maintainer: | Pablo Bernabeu <pcbernabeu at gmail.com> |
| BugReports: | https://github.com/pablobernabeu/pilotr/issues |
| License: | MIT + file LICENSE |
| URL: | https://pablobernabeu.github.io/pilotr/r/, https://github.com/pablobernabeu/pilotr |
| NeedsCompilation: | no |
| Citation: | pilotr citation info |
| Materials: | README, NEWS |
| CRAN checks: | pilotr results |
| Reference manual: | pilotr.html , pilotr.pdf |
| Vignettes: |
Cross-language reproducibility (source, R code) Getting started with pilotr (source, R code) Power and design analysis (source, R code) Precision and ROPE design analysis (source, R code) Response families (source, R code) The no-code app (source, R code) Worked examples (source, R code) |
| Package source: | pilotr_0.3.0.tar.gz |
| Windows binaries: | r-devel: not available, r-release: not available, r-oldrel: not available |
| macOS binaries: | r-release (arm64): not available, r-oldrel (arm64): pilotr_0.3.0.tgz, r-release (x86_64): pilotr_0.3.0.tgz, r-oldrel (x86_64): not available |
Please use the canonical form https://CRAN.R-project.org/package=pilotr to link to this page.