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.3 |
| 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 (≥ 0.3.3.3.0), RcppParallel (≥ 5.0.1), rstan (≥ 2.26.0), StanHeaders (≥ 2.26.0) |
| Suggests: | testthat, knitr, rmarkdown, ggplot2 |
| Published: | 2025-10-11 |
| DOI: | 10.32614/CRAN.package.bistablehistory |
| Author: | Alexander Pastukhov
|
| Maintainer: | Alexander Pastukhov <pastukhov.alexander at gmail.com> |
| BugReports: | https://github.com/alexander-pastukhov/bistablehistory/issues/ |
| License: | GPL (≥ 3) |
| URL: | https://github.com/alexander-pastukhov/bistablehistory/, https://alexander-pastukhov.github.io/bistablehistory/ |
| NeedsCompilation: | yes |
| SystemRequirements: | GNU make |
| Citation: | bistablehistory citation info |
| Materials: | README, NEWS |
| CRAN checks: | bistablehistory results |
| Reference manual: | bistablehistory.html , bistablehistory.pdf |
| Vignettes: |
Cumulative History (source, R code) Usage examples (source, R code) Writing Stan code (source, R code) |
| Package source: | bistablehistory_1.1.3.tar.gz |
| Windows binaries: | r-devel: bistablehistory_1.1.3.zip, r-release: bistablehistory_1.1.3.zip, r-oldrel: bistablehistory_1.1.3.zip |
| macOS binaries: | r-release (arm64): bistablehistory_1.1.3.tgz, r-oldrel (arm64): bistablehistory_1.1.3.tgz, r-release (x86_64): bistablehistory_1.1.3.tgz, r-oldrel (x86_64): bistablehistory_1.1.3.tgz |
| Old sources: | bistablehistory archive |
Please use the canonical form https://CRAN.R-project.org/package=bistablehistory to link to this page.