binsmooth
Generate PDFs and CDFs from Binned Data
Description
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.
Downloads
212
Last 30 days
15573rd
416
Last 90 days
416
Last year
Trend: +3.9% (30d vs prior 30d)
CRAN Check Status
Show all 14 flavors
| Flavor | Status |
|---|---|
| r-devel-linux-x86_64-debian-clang | NOTE |
| r-devel-linux-x86_64-debian-gcc | NOTE |
| r-devel-linux-x86_64-fedora-clang | OK |
| r-devel-linux-x86_64-fedora-gcc | OK |
| r-devel-macos-arm64 | OK |
| r-devel-windows-x86_64 | OK |
| r-oldrel-macos-arm64 | OK |
| r-oldrel-macos-x86_64 | OK |
| r-oldrel-windows-x86_64 | OK |
| r-patched-linux-x86_64 | OK |
| r-release-linux-x86_64 | OK |
| r-release-macos-arm64 | OK |
| r-release-macos-x86_64 | OK |
| r-release-windows-x86_64 | OK |
Check details (14 non-OK)
CRAN incoming feasibility
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 incoming feasibility
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.
*
*
*
*
*
*
*
*
*
*
*
*
Check History
NOTE 12 OK · 2 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Mar 9, 2026
CRAN incoming feasibility
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 =
CRAN incoming feasibility
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 =