bistablehistory: Cumulative History Analysis for Bistable Perception Time Series

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.

Version: 1.1.2
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, future, purrr, tidyr
LinkingTo: BH (≥ 1.66.0), Rcpp (≥ 0.12.0), RcppEigen (≥, RcppParallel (≥ 5.0.1), rstan (≥ 2.26.0), StanHeaders (≥ 2.26.0)
Suggests: testthat, knitr, rmarkdown, ggplot2
Published: 2023-09-13
DOI: 10.32614/CRAN.package.bistablehistory
Author: Alexander Pastukhov ORCID iD [aut, cre]
Maintainer: Alexander Pastukhov <pastukhov.alexander at>
License: GPL (≥ 3)
NeedsCompilation: yes
SystemRequirements: GNU make
Citation: bistablehistory citation info
Materials: README NEWS
CRAN checks: bistablehistory results


Reference manual: bistablehistory.pdf
Vignettes: Cumulative History
Usage examples
Writing Stan code


Package source: bistablehistory_1.1.2.tar.gz
Windows binaries: r-devel:, r-release:, r-oldrel:
macOS binaries: r-release (arm64): bistablehistory_1.1.2.tgz, r-oldrel (arm64): bistablehistory_1.1.2.tgz, r-release (x86_64): bistablehistory_1.1.2.tgz, r-oldrel (x86_64): bistablehistory_1.1.2.tgz
Old sources: bistablehistory archive


Please use the canonical form to link to this page.