Skip to content

binsmooth

0.2.2Package record

Generate PDFs and CDFs from Binned Data

0packages depend
3.3Kdownloads / year
–test coverage
11/13flavors OK

Overview

About

Provides several methods for generating density functions based on binned data. Methods include step function, recursive subdivision, and optimized spline. Data are assumed to be nonnegative, the top bin is assumed to have no upper bound, but the bin widths need be equal. All PDF smoothing methods maintain the areas specified by the binned data. (Equivalently, all CDF smoothing methods interpolate the points specified by the binned data.) In practice, an estimate for the mean of the distribution should be supplied as an optional argument. Doing so greatly improves the reliability of statistics computed from the smoothed density functions. Includes methods for estimating the Gini coefficient, the Theil index, percentiles, and random deviates from a smoothed distribution. Among the three methods, the optimized spline (splinebins) is recommended for most purposes. The percentile and random-draw methods should be regarded as experimental, and these methods only support splinebins.

Changes in 0.2.2

Update:

  • Fixed bug in splinebins warning when median falls in the first bin.

From NEWS in the release

Install

Health

CRAN checks
2NOTE11OK
Check messages
NOTECRAN incoming feasibilityr-devel-linux-x86_64-debian-clang, r-devel-linux-x86_64-debian-gcc
Maintainer: ‘Dave Hunter <dhunter@westmont.edu>’

No Authors@R field in DESCRIPTION.
Please add one, modifying
  Authors@R: c(person(given = c("David", "J."),
                      family = "Hunter",
                      role = "aut"),
               person(given = "McKalie",
                      family = "Drown",
                      role = "aut"),
               person(given = "Dave",
                      family = "Hunter",
                      role = "cre",
                      email = "dhunter@westmont.edu"))
as necessary.

CRAN check page ↗

Slowest check: 1.0 min · r-oldrel-windows-x86_64
Status changes
  • NOTE11 OK, 2 NOTE2026-09-08
  • ERROR10 OK, 2 NOTE, 1 ERROR2026-09-07
  • NOTE12 OK, 2 NOTE2026-03-10
Advisories

none known

Documentation

In release 0.2.2
READMENoVignettesNoNEWSYes · 33% structured · mentions 0.2.2Citation fileNoWebsitenot declared in DESCRIPTION
Help pages
11
Examples that run
100%11 run in a plain check
Exported functions with examples
100%
Documented parameters
not tracked
Return-value docs
not tracked
Help pages citing references
82%

Downloads

3.3K
CRAN downloads in the past year
Rank #12,274 · ~9/day · ~276/mo
Daily download trend is not available in this view yet.
36930 days
89890 days
3.3K1 year
Compare downloads with other packages →
Also on131 r2u30 autocran

Dependencies

Declared dependencies
3 external dependencies (excludes base and recommended)

Installing binsmooth adds 3 packages (0 with compiled code, 490 KB of source tarballs). Heaviest: pracma 389 KB, triangle 80 KB, ineq 21 KB.

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

Nothing depends on this yet.

Datasets

People & History

People (from the free-text Author field) (2)

Maintainer since 0.1.0 (2016)

Releases (4)

Pick two releases to compare their code metrics.

  • R
    R 4.6.0 released · 2026-04-24
  • R
    R 4.5.0 released · 2025-04-11
  • R
    R 4.4.0 released · 2024-04-24
  • R
    R 4.3.0 released · 2023-04-21
  • R
    R 4.2.0 released · 2022-04-22
  • R
    R 4.1.0 released · 2021-05-18
  • R
    R 4.0.0 released · 2020-04-24
  • 0.2.2Latest
    record
    2020-03-11 · current release · diff ↗
  • 0.2.1
    record
    2019-10-27 · diff ↗
  • 0.2.0
    record
    2019-06-01 · diff ↗
  • R
    R 3.6.0 released · 2019-04-26
  • R
    R 3.5.0 released · 2018-04-23
  • R
    R 3.4.0 released · 2017-04-21
  • 0.1.0
    record
    2016-08-12
  • R
    R 3.3.0 released · 2016-05-03

Package metadata

First published
2016-08-12
Total releases
4 / 10 yrs
License
MIT + file LICENSE OSI
Bundled data
171 KB / 2 files
Download size
171 KB

Cite

Cite this package

Run in R for the authors' preferred citation:

citation("binsmooth")

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 binsmooth version 0.2.2 [Data set]. HJJB, LLC. Data release v2026-10-21. https://doi.org/10.5281/zenodo.21843040

From data release v2026-10-21, 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