Other packages > Find by keyword >

binsmooth  

Generate PDFs and CDFs from Binned Data
View on CRAN: Click here


Download and install binsmooth package within the R console
Install from CRAN:
install.packages("binsmooth")

Install from Github:
library("remotes")
install_github("cran/binsmooth")

Install by package version:
library("remotes")
install_version("binsmooth", "0.2.2")



Attach the package and use:
library("binsmooth")
Maintained by
Dave Hunter
[Scholar Profile | Author Map]
All associated links for this package
First Published: 2016-08-12
Latest Update: 2020-03-11
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.
How to cite:
Dave Hunter (2016). binsmooth: Generate PDFs and CDFs from Binned Data. R package version 0.2.2, https://cran.r-project.org/web/packages/binsmooth. Accessed 06 Aug. 2026.
Previous versions and publish date:
(2026-07-09 07:22), 0.1.0 (2016-08-12 16:46), 0.2.0 (2019-06-01 00:13), 0.2.1 (2019-10-27 06:10)
Other packages that cited binsmooth R package
View binsmooth citation profile
Other R packages that binsmooth depends, imports, suggests or enhances
Complete documentation for binsmooth
Functions, R codes and Examples using the binsmooth R package
Some associated functions: county_bins . county_true . gini . rsubbins . sb_percentiles . sb_sample . simcounty . splinebins . stats_from_distribution . stepbins . theil . 
Some associated R codes: gini.R . rsubbins.R . sb_percentiles.R . sb_sample.R . simcounty.R . splinebins.R . stats_from_distribution.R . stepbins.R . theil.R .  Full binsmooth package functions and examples
Downloads during the last 30 days

Today's Hot Picks in Authors and Packages

SAMBA  
Selection and Misclassification Bias Adjustment for Logistic Regression Models
Health research using data from electronic health records (EHR) has gained popularity, but miscla ...
Download / Learn more Package Citations See dependency  
TMDb  
Access to TMDb API
Provides an R-interface to the TMDb API (see TMDb API on < ...
Download / Learn more Package Citations See dependency  
r2resize  
In-Text Resize for Images, Tables and Fancy Resize Containers in 'shiny', 'rmarkdown' and 'quarto' Documents
Automatic resizing toolbar for containers, images and tables. Various resizable or expandable contai ...
Download / Learn more Package Citations See dependency  
RRedshiftSQL  
R Interface to the 'Redshift' Database
Superclasses 'PostgreSQL' connection to help enable full 'dplyr' functionality on 'Redshift'. ...
Download / Learn more Package Citations See dependency  
lsmeans  
Least-Squares Means
Obtain least-squares means for linear, generalized linear, and mixed models. Compute contrasts or l ...
Download / Learn more Package Citations See dependency  

28,083

R Packages

239,283

Dependencies

74,457

Author Associations

28,084

Publication Badges

© Copyright since 2022. All right reserved, rpkg.net.  Based in Cambridge, Massachusetts, USA