Cumulative History Analysis for Bistable Perception Time Series
Overview
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.
- Refactored code due to functions depreciation.
From NEWS.md in the release
Install
Health
- OK13 OK2026-08-05
- NOTE12 OK, 1 NOTE2026-08-01
- OK13 OK2026-07-29
- ERROR12 OK, 1 ERROR2026-07-27
- OK13 OK2026-06-09
Show 5 earlier changesHide 5 earlier changes
- NOTE12 OK, 1 NOTE2026-06-08
- OK12 OK2026-04-25
- NOTE11 OK, 3 NOTE2026-04-22
- ERROR10 OK, 3 NOTE, 1 ERROR2026-04-18
- NOTE11 OK, 3 NOTE2026-03-10
Documentation
- Help pages
- 35 (4 internal)includes a package overview page
- Examples that run
- 32%8 run in a plain check · 17 only when donttest examples are enabled (R CMD check --as-cran)
- Exported functions with examples
- 95%
- Documented parameters
- 100%
- Return-value docs
- 100%
- Help pages citing references
- 3%
- Cumulative History HTML
- Usage examples HTML
- Writing Stan code HTML
Downloads
Repository
- PRs merged (all time)
- 100%
- Median days to close, 50 most recently updated closed issues
- 20
- Median days to close, 50 most recently updated closed PRs
- 1
Forks over time
Releases over time
Issues over time
PRs over time
3 development-tooling and community-health practices detected across 2 families in the upstream repository
Checks run against github.com/alexander-pastukhov/bistablehistory on 2026-10-22.
GitHub Pages site last deployed 2022-09-28
pkgdown site last built 2022-09-28, before release 1.1.4 (2026-03-03)
Dependencies
Code & Tests
Datasets
People & History
Pick two releases to compare their code metrics.
- RR 4.6.0 released · 2026-04-24
- 1.1.4Latest
- 1.1.32025-10-11 · diff ↗
- RR 4.5.0 released · 2025-04-11
- RR 4.4.0 released · 2024-04-24
- 1.1.22023-09-13 · diff ↗
- RR 4.3.0 released · 2023-04-21
- RR 4.2.0 released · 2022-04-22
- 1.1.1
- 1.1.02022-01-14 · diff ↗ ·
removed 1 export
history_mixadded 5 exports
check_normal_prior, extract_history_parameter, extract_replicate_term_to_matrix, extract_term_to_matrix, predict_samples - 1.0.02021-09-28
- RR 4.1.0 released · 2021-05-18
Package metadata
- First published
- 2021-09-28
- Total releases
- 6 / 5 yrs
- License
- GPL (>= 3) OSI
- Minimum R
- ≥ 4.3.0
- Bundled data
- 303 KB / 7 files
- Download size
- 3.2 MB
Cite
Cite this package
Run in R for the authors' entry:
citation("bistablehistory")The package provides a citation file, so citation() returns the authors' own entry.
It points to 10.21105/joss.03901.
Cite the R Observatory
For a number measured here: a download total, a coverage figure, an archival date.
From data release v2026-10-25, which the citation names so these numbers can be found later. More on citing and the projects behind them.