Package: bistablehistory
Title: Cumulative History Analysis for Bistable Perception Time Series
Version: 1.1.4
Date: 2026-03-02
Authors@R: 
    person(given = "Alexander",
           family = "Pastukhov",
           role = c("aut", "cre"),
           email = "pastukhov.alexander@gmail.com",
           comment = c(ORCID = "0000-0002-8738-8591"))
Description: Estimates cumulative history for time-series for continuously
    viewed bistable perceptual rivalry displays. Computes cumulative history
    via a homogeneous first order differential process. I.e., it assumes
    exponential growth/decay of the history as a function time and perceptually
    dominant state, Pastukhov & Braun (2011) <doi:10.1167/11.10.12>.
    Supports Gamma, log normal, and normal distribution families.
    Provides a method to compute history directly and example of using the
    computation on a custom Stan code.
License: GPL (>= 3)
URL: https://github.com/alexander-pastukhov/bistablehistory/,
        https://alexander-pastukhov.github.io/bistablehistory/
BugReports: https://github.com/alexander-pastukhov/bistablehistory/issues/
Encoding: UTF-8
LazyData: true
RoxygenNote: 7.3.3
VignetteBuilder: knitr
Biarch: true
Depends: R (>= 4.3.0), loo, rlang, rstantools (>= 2.1.1)
Imports: methods, Rcpp (>= 0.12.0), rstan (>= 2.26.0), dplyr, tibble,
        glue, boot, parallel, purrr, tidyr
LinkingTo: BH (>= 1.66.0), Rcpp (>= 0.12.0), RcppEigen (>= 0.3.3.3.0),
        RcppParallel (>= 5.0.1), rstan (>= 2.26.0), StanHeaders (>=
        2.26.0)
SystemRequirements: GNU make
Suggests: testthat, knitr, rmarkdown, ggplot2
NeedsCompilation: yes
Packaged: 2026-03-03 13:08:46 UTC; ba7dr4
Author: Alexander Pastukhov [aut, cre] (ORCID:
    <https://orcid.org/0000-0002-8738-8591>)
Maintainer: Alexander Pastukhov <pastukhov.alexander@gmail.com>
Repository: CRAN
Date/Publication: 2026-03-03 14:20:02 UTC
Built: R 4.6.1; x86_64-w64-mingw32; 2026-07-21 03:57:16 UTC; windows
Archs: x64
