Skip to content

bistablehistory

1.1.4

Cumulative History Analysis for Bistable Perception Time Series

0packages depend
4Kdownloads / year
17.0%test coverage
13/13checks pass

Overview

About
Maintained by Alexander PastukhovFirst published 2021-09-286 releasesCRAN page ↗GitHub ↗

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.

Install

Health

CRAN checks
13OK
Slowest check: 8.5 min · r-oldrel-windows-x86_64
Code health
Yes
Tests · ratio 0.11
17.0%
Coverage · measured lines
95%
Documentation · exports
13
Dependencies · direct
Check history
  • OK2026-08-05
    13 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
  • NOTE2026-08-01
    12 OK · 1 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
  • OK2026-07-29
    13 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
  • ERROR2026-07-27
    12 OK · 0 NOTE · 0 WARNING · 1 ERROR · 0 FAILURE
  • OK2026-06-09
    13 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
Show 5 earlier snapshots
  • NOTE2026-06-08
    12 OK · 1 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
  • OK2026-04-25
    12 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
  • NOTE2026-04-22
    11 OK · 3 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
  • ERROR2026-04-18
    10 OK · 3 NOTE · 0 WARNING · 1 ERROR · 0 FAILURE
  • NOTE2026-03-10
    11 OK · 3 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE

Documentation

Documentation
READMEYes · 382 wordsVignettesYes · dynamicpkgdown siteNoNEWSYes · 67% structuredCode of conductNoContributing guideNo
Examples that run
32%
Documented parameters
100%
Return-value docs
100%
References docs
3%

Downloads

4K
CRAN downloads in the past year
Rank #9,452 · ~11/day · ~333/mo
Daily download trend is not available in this view yet.
31830 days
1.1K90 days
4K1 year
Compare downloads with other packages →
Also on448 r2u10 autocran

Repository

Repository
0Stars
1Forks
2Open issues
0Open PRs
3Releases
280Commits
3Contributors
License GPL-3.0 · 280 commits · Last activity 2026-03-11

Forks over time

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

Repository practices

Upstream repositoryBeta

1 development-tooling and community-health practice detected across 1 family in the upstream repository

Checks run against github.com/alexander-pastukhov/bistablehistory on 2026-08-03.

Lint, format, editor (1)
RStudio project
How this is detected·Detection ruleset v1 (2026-07-18)

Dependencies

Declared dependencies
20 external dependencies (excludes base and recommended)
Depends (4)
Imports (10)
Enhances (0)
none
Reverse dependencies
0direct
0indirect

Nothing depends on this yet.

Code & Tests

Datasets

People & History

People (1)
Maintainer (1)
Author, Maintainer
Authors (1)
Author, Maintainer
Package Timeline

6 releases. Pick two to compare their code metrics. R releases are shown for context.

  • R
    R 4.6.0 released · 2026-04-24
  • 1.1.4Latest
    2026-03-03 · current release · diff ↗
  • 1.1.3
    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
    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
    2022-03-22 · diff ↗
  • 1.1.0
    2022-01-14 · diff ↗
  • 1.0.0
    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
Installed size
not tracked yet
With dependencies
not tracked yet

Cite

Cite this package

Start here. This is the citation for the package itself.

citation("bistablehistory")

CRAN DOI

https://doi.org/10.32614/CRAN.package.bistablehistory

BibTeX, derived from DESCRIPTION

@Manual{bistablehistory,
  title  = {bistablehistory: Cumulative History Analysis for Bistable Perception Time Series},
  author = {Pastukhov, Alexander},
  year   = {2026},
  note   = {R package version 1.1.4},
  doi    = {10.32614/CRAN.package.bistablehistory},
  url    = {https://CRAN.R-project.org/package=bistablehistory}
}

Derived from the package DESCRIPTION, not from a citation file the authors wrote. If they publish one later, prefer it.

This is the citation for the package. It is not a citation for the R Observatory.

Cite this page

Use this when the claim is about a measurement on this page.

BibTeX

@misc{robservatorybistablehistory,
  author    = {Balamuta, James Joseph},
  title     = {{R} {Observatory}: Metrics for {bistablehistory} version 1.1.4},
  year      = {2026},
  publisher = {HJJB, LLC},
  url       = {https://r-observatory.thecoatlessprofessor.com/packages/bistablehistory},
  note      = {Data set. Data release v2026-08-05}
}

APA

Balamuta, J. J. (2026). R Observatory: Metrics for bistablehistory version 1.1.4 [Data set]. HJJB, LLC. Data release v2026-08-05. https://r-observatory.thecoatlessprofessor.com/packages/bistablehistory

RIS

TY  - DATA
AU  - Balamuta, James Joseph
TI  - R Observatory: Metrics for bistablehistory version 1.1.4
PY  - 2026
PB  - HJJB, LLC
N1  - Data release v2026-08-05
UR  - https://r-observatory.thecoatlessprofessor.com/packages/bistablehistory
ER  - 

In prose

These package metrics were obtained from the R Observatory (Balamuta, 2026), data release v2026-08-05, https://r-observatory.thecoatlessprofessor.com/packages/bistablehistory.

Bound to data release v2026-08-05, which is what makes the numbers on this page reproducible. See how to cite.

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