CRAN/E | tdigest

tdigest

Wicked Fast, Accurate Quantiles Using t-Digests

Installation

About

The t-Digest construction algorithm, by Dunning et al., (2019) , uses a variant of 1-dimensional k-means clustering to produce a very compact data structure that allows accurate estimation of quantiles. This t-Digest data structure can be used to estimate quantiles, compute other rank statistics or even to estimate related measures like trimmed means. The advantage of the t-Digest over previous digests for this purpose is that the t-Digest handles data with full floating point resolution. The accuracy of quantile estimates produced by t-Digests can be orders of magnitude more accurate than those produced by previous digest algorithms. Methods are provided to create and update t-Digests and retrieve quantiles from the accumulated distributions.

git.sr.ht/~hrbrmstr/tdigest
Copyright file inst/COPYRIGHTS tdigest copyright details
Bug report File report

Key Metrics

Version 0.4.1
R ≥ 3.5.0
Published 2022-10-04 576 days ago
Needs compilation? yes
License MIT
License File
CRAN checks tdigest results
Language en-US

Downloads

Yesterday 28 +22%
Last 7 days 214 +26%
Last 30 days 694 -5%
Last 90 days 2.072 -64%
Last 365 days 12.379 +20%

Maintainer

Maintainer

Bob Rudis

bob@rud.is

Authors

Bob Rudis

aut / cre

Ted Dunning

aut

(t-Digest algorithm; <https://github.com/tdunning/t-digest/>)

Andrew Werner

aut

(Original C+ code; <https://github.com/ajwerner/tdigest>)

Material

Reference manual
Package source

macOS

r-release

arm64

r-oldrel

arm64

r-release

x86_64

r-oldrel

x86_64

Windows

r-devel

x86_64

r-release

x86_64

r-oldrel

x86_64

Old Sources

tdigest archive

Depends

R ≥ 3.5.0

Imports

magrittr
stats

Suggests

testthat
covr
spelling

Reverse Depends

meboot