Utility Functions for R Histograms

Provides a number of utility functions useful for manipulating large histograms. This includes methods to trim, subset, merge buckets, merge histograms, convert to CDF, and calculate information loss due to binning. It also provides a protocol buffer representation of R's native histogram class to allow histograms over large data sets to be computed and combined in distributed analytical pipelines. Implements bin-by-bin histogram distance measures described in Rubner, Tomasi and Guibas (2000) , Swain and Ballard (1991) , and Puzicha, Hofmann and Buhmann (1997) , and average shifted histograms as in Scott (2015, ISBN:9781118575536).


HistogramTools

R-CMD-check CRAN_Status_Badge Codecov test coverage

This package provides a number of utility functions useful for manipulating large histograms. This includes methods to trim, subset, merge buckets, merge histograms, convert to CDF, and calculate information loss due to binning. It also provides a protocol buffer representation of R's native histogram class to allow histograms over large data sets to be computed and combined in distributed analytical pipelines.

Installation

You can either install from source via this repo, or install the CRAN package the usual way from R.

More Info

RProtoBuf & HistogramTools: Statistical Analysis Tools for Large Data Sets Google Open Source Blog, October 10, 2013

History

This package was originally developed at Google between 2011 and 2015. It is now independently maintained by the original author.

Authors

Murray Stokely

License

Apache 2.0

Reference manual

It appears you don't have a PDF plugin for this browser. You can click here to download the reference manual.

install.packages("HistogramTools")

0.4.1 by Murray Stokely, 5 months ago


https://github.com/murraystokely/histogramtools


Report a bug at https://github.com/murraystokely/histogramtools/issues


Browse source code at https://github.com/cran/HistogramTools


Authors: Murray Stokely [aut, cre, cph] (ORCID: , Google , Inc. [cph] , Tim Hesterberg [ctb]


Documentation:   PDF Manual  


Apache License 2.0 license


Imports ash, Hmisc

Suggests emdist, gdata, testthat

Enhances RProtoBuf


See at CRAN