Package: tdigest 0.4.3
tdigest: Wicked Fast, Accurate Quantiles Using t-Digests
The t-Digest construction algorithm, by Dunning, (2019) <doi:10.48550/arXiv.1902.04023>, 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.
Authors:
tdigest_0.4.3.tar.gz
tdigest_0.4.3.tar.gz(r-4.7-arm64)tdigest_0.4.3.tar.gz(r-4.7-x86_64)tdigest_0.4.3.tar.gz(r-4.6-arm64)tdigest_0.4.3.tar.gz(r-4.6-x86_64)
tdigest_0.4.3.tgz(r-4.6-emscripten)
manual.pdf |manual.html✨
card.svg |card.png
tdigest/json (API)
| # Install 'tdigest' in R: |
| install.packages('tdigest', repos = c('https://cran.r-universe.dev', 'https://cloud.r-project.org')) |
This package does not link to any Github/Gitlab/R-forge repository. No issue tracker or development information is available.
Last updated from:921bf4e4b2. Checks:6 OK. Indexed: no.
| Target | Result | Time | Files | Syslog |
|---|---|---|---|---|
| linux-devel-arm64 | OK | 103 | ||
| linux-devel-x86_64 | OK | 112 | ||
| source / vignettes | OK | 157 | ||
| linux-release-arm64 | OK | 115 | ||
| linux-release-x86_64 | OK | 109 | ||
| wasm-release | OK | 100 |
Exports:%>%as_tdigestis_tdigesttd_addtd_createtd_mergetd_quantile_oftd_total_counttd_value_attdigesttquantile
Dependencies:magrittr
Readme and manuals
Help Manual
| Help page | Topics |
|---|---|
| Serialize a tdigest object to an R list or unserialize a serialized tdigest list back into a tdigest object | as.list.tdigest as_tdigest |
| Add a value to the t-Digest with the specified count | td_add |
| Allocate a new histogram | is_tdigest td_create |
| Merge one t-Digest into another | td_merge |
| Return the quantile of the value | td_quantile_of |
| Total items contained in the t-Digest | length.tdigest td_total_count |
| Return the value at the specified quantile | td_value_at [.tdigest |
| Calculate sample quantiles from a t-Digest | quantile.tdigest tquantile |
