rtprep: Screening, Trimming, and Aggregating Response Time Data

A uniform interface to common response time preprocessing decisions that precede analysing aggregated response times or fitting an evidence accumulation model. Screening rules from different preprocessing routines – absolute cutoffs, standard deviation and median absolute deviation criteria, recursive moving criteria, and model-based mixture flagging – all return the same per-trial object, so that consequences of a preprocessing choice can be compared rather than assumed. The package also provides aggregation into EZ-diffusion summary statistics, diagnostics reporting what each rule removed and where rules disagree. Finally, generators for response time data with contaminants of known type are provided, so that a chosen pipeline can be tested against ground truth. Screening criteria follow Van Selst and Jolicoeur (1994) <doi:10.1080/14640749408401131>, the contaminant mixture Ratcliff and Tuerlinckx (2002) <doi:10.3758/BF03196302>, and the EZ-diffusion equations Wagenmakers, van der Maas and Grasman (2007) <doi:10.3758/BF03194023>.

Version: 0.1.0
Depends: R (≥ 4.1.0)
Imports: graphics, stats, utils
Suggests: testthat (≥ 3.0.0), bmm, trimr, rtdists, SimDesign, dplyr, tibble, ggplot2, knitr, rmarkdown, spelling, withr
Published: 2026-10-05
DOI: 10.32614/CRAN.package.rtprep (may not be active yet)
Author: Gidon T. Frischkorn ORCID iD [aut, cre, cph]
Maintainer: Gidon T. Frischkorn <gfrischkorn at icloud.com>
BugReports: https://github.com/GidonFrischkorn/rtprep/issues
License: GPL-2 | GPL-3 [expanded from: GPL (≥ 2)]
URL: https://github.com/GidonFrischkorn/rtprep, https://www.gfrischkorn.org/rtprep/
NeedsCompilation: no
Language: en-GB
Citation: rtprep citation info
Materials: NEWS
CRAN checks: rtprep results

Documentation:

Reference manual: rtprep.html , rtprep.pdf
Vignettes: Get started with rtprep (source, R code)

Downloads:

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

Linking:

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