sshist: Optimal Histogram Binning Using Shimazaki-Shinomoto Method

Implements the Shimazaki-Shinomoto method for optimizing the bin width of a histogram. This method minimizes the mean integrated squared error (MISE) and features a 'C++' backend for high performance and shift-averaging to remove edge-position bias. Ideally suits for time-dependent rate estimation and identifying intrinsic data structures. Supports both 1D and 2D data distributions. For more details see Shimazaki and Shinomoto (2007) "A Method for Selecting the Bin Size of a Time Histogram" <doi:10.1162/neco.2007.19.6.1503>.

Version: 0.1.2
Imports: graphics, grDevices, Rcpp, stats
LinkingTo: Rcpp
Suggests: ggplot2, knitr, rmarkdown
Published: 2026-02-13
DOI: 10.32614/CRAN.package.sshist
Author: Daniil Popov [aut, cre]
Maintainer: Daniil Popov <popov.daniil at gmail.com>
BugReports: https://github.com/celebithil/sshist/issues
License: GPL (≥ 3)
URL: https://github.com/celebithil/sshist, https://www.neuralengine.org/res/histogram.html
NeedsCompilation: yes
Materials: README, NEWS
CRAN checks: sshist results

Documentation:

Reference manual: sshist.html , sshist.pdf
Vignettes: Introduction to sshist (source, R code)

Downloads:

Package source: sshist_0.1.2.tar.gz
Windows binaries: r-devel: not available, r-release: sshist_0.1.1.zip, r-oldrel: sshist_0.1.1.zip
macOS binaries: r-release (arm64): sshist_0.1.2.tgz, r-oldrel (arm64): sshist_0.1.2.tgz, r-release (x86_64): sshist_0.1.1.tgz, r-oldrel (x86_64): sshist_0.1.1.tgz
Old sources: sshist archive

Linking:

Please use the canonical form https://CRAN.R-project.org/package=sshist to link to this page.