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) . 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 Roxygen: list(markdown = 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 Config/pak/sysreqs: make libicu-dev Repository: https://alexander-pastukhov.r-universe.dev Date/Publication: 2026-03-11 11:06:30 UTC RemoteUrl: https://github.com/alexander-pastukhov/bistablehistory RemoteRef: HEAD RemoteSha: 39e6223fed10b3fb32f06e7288aaec28163a8c48 NeedsCompilation: yes Packaged: 2026-07-09 10:06:34 UTC; root Author: Alexander Pastukhov [aut, cre] (ORCID: ) Maintainer: Alexander Pastukhov