Skip to content

bistablehistory

1.1.4Package record

Cumulative History Analysis for Bistable Perception Time Series

0packages depend
4.2Kdownloads / year
17.0%test coverage
13/13flavors OK

Overview

About

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.

Changes in 1.1.4
  • Refactored code due to functions depreciation.

From NEWS.md in the release

Install

Health

CRAN checks
13OK
Slowest check: 10.0 min · r-oldrel-windows-x86_64
Status changes
  • 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
Advisories

none known

Documentation

In release 1.1.4
READMEYes · 382 wordsVignettesYes · 3 · dynamicNEWSYes · 67% structured · mentions 1.1.4Citation fileYes · cites a publicationWebsiteYes · pkgdown
Cites a JOSS paper
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%

Downloads

4.2K
CRAN downloads in the past year
Rank #8,654 · ~11/day · ~348/mo
Daily download trend is not available in this view yet.
40030 days
1.1K90 days
4.2K1 year
Compare downloads with other packages →
Also on449 r2u38 autocran

Repository

0Stars
1Forks
2Open issues
0Open PRs
3Releases
280Commits
3Commit identities
License file reads as GPL-3.0 · 280 commits · Last activity 2026-03-11
Responsiveness
How these are sampled
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

2021-12-18 · 12026-07-07 · 1
PracticesBeta

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.

Docs source (2)
pkgdown

GitHub Pages site last deployed 2022-09-28

pkgdown site last built 2022-09-28, before release 1.1.4 (2026-03-03)

Lint, format, editor (1)
RStudio project
How this is detected·Detection ruleset v4 (2026-10-20)

Dependencies

Declared dependencies
20 external dependencies (excludes base and recommended)

Installing bistablehistory adds 54 packages (27 with compiled code, 57 MB of source tarballs). Heaviest: BH 14 MB, stringi 11 MB, ggplot2 6.0 MB.

Depends (4)
Imports (10)
Enhances (0)
none
Reverse dependencies
0direct
0indirect

Nothing depends on this yet.

Datasets

People & History

People (1)
Author, Maintainer since 1.0.0 (2021)
Releases (6)

Pick two releases to compare their code metrics.

  • R
    R 4.6.0 released · 2026-04-24
  • 1.1.4Latest
    record
    2026-03-03 · current release · diff ↗
  • 1.1.3
    record
    2025-10-11 · diff ↗
  • R
    R 4.5.0 released · 2025-04-11
  • R
    R 4.4.0 released · 2024-04-24
  • 1.1.2
    record
    2023-09-13 · diff ↗
  • R
    R 4.3.0 released · 2023-04-21
  • R
    R 4.2.0 released · 2022-04-22
  • 1.1.1
    record
    2022-03-22 · diff ↗ ·
    added 1 export
    predict_history
  • 1.1.0
    record
    2022-01-14 · diff ↗ ·
    removed 1 export
    history_mix
    added 5 exports
    check_normal_prior, extract_history_parameter, extract_replicate_term_to_matrix, extract_term_to_matrix, predict_samples
  • 1.0.0
    record
    2021-09-28
  • R
    R 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.

APA

Balamuta, J. J. (2026). R Observatory: Metrics for bistablehistory version 1.1.4 [Data set]. HJJB, LLC. Data release v2026-10-25. https://doi.org/10.5281/zenodo.21843040

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.

Report a problem with this page →

Privacy choices

These apply to this browser and are stored on this device only. Nothing about your choice is sent to us.

Read the privacy policy