Package: SSRTcalc
Type: Package
Title: Monte Carlo and Bayesian Stop-Signal Reaction Time Estimation
Version: 2.1.1
Authors@R: c(
    person("Anton", "Leontyev", , "antonleontyev@missouristate.edu",
           role = c("aut", "cre"),
           comment = c(ORCID = "0000-0001-8880-6161")))
Description: Estimates stop-signal reaction time (SSRT) in the stop-signal
    task using the integration and mean methods described by Verbruggen and
    colleagues (2019) <doi:10.7554/eLife.46323>. In addition to point
    estimates, the package provides Monte Carlo tools (nonparametric bootstrap
    confidence intervals, parametric ex-Gaussian simulation, minimum-trial-count
    and power analysis, and sensitivity analysis under violations of the
    horse-race assumptions) and Bayesian estimation via 'Stan', including
    single-subject and hierarchical ex-Gaussian horse-race models with an
    optional trigger-failure parameter following Matzke and colleagues (2013)
    <doi:10.1037/a0030543>, posterior inhibition functions, and posterior
    predictive checks. The Bayesian layer works with either the 'cmdstanr' or
    'rstan' backend.
License: GPL-3
Encoding: UTF-8
LazyData: true
LazyDataCompression: xz
RoxygenNote: 7.3.1
Depends: R (>= 4.0.0)
Imports: stats, graphics, grDevices
Suggests: MASS, cmdstanr (>= 0.5.0), rstan (>= 2.26.0), posterior,
        bayesplot, loo, parallel, testthat (>= 3.0.0)
Additional_repositories: https://mc-stan.org/r-packages/
Config/testthat/edition: 3
URL: https://github.com/agleontyev/SSRTcalc
BugReports: https://github.com/agleontyev/SSRTcalc/issues
NeedsCompilation: no
Packaged: 2026-07-05 21:00:57 UTC; agleo
Author: Anton Leontyev [aut, cre] (ORCID:
    <https://orcid.org/0000-0001-8880-6161>)
Maintainer: Anton Leontyev <antonleontyev@missouristate.edu>
Repository: CRAN
Date/Publication: 2026-07-06 06:10:20 UTC
Built: R 4.6.1; ; 2026-07-06 09:48:26 UTC; unix
