|
|
@ -12,10 +12,16 @@ Status](https://travis-ci.org/hrbrmstr/tdigest.svg?branch=master)](https://travi |
|
|
|
status](https://ci.appveyor.com/api/projects/status/github/hrbrmstr/tdigest?svg=true)](https://ci.appveyor.com/project/hrbrmstr/tdigest) |
|
|
|
[![Coverage |
|
|
|
Status](https://codecov.io/gh/hrbrmstr/tdigest/branch/master/graph/badge.svg)](https://codecov.io/gh/hrbrmstr/tdigest) |
|
|
|
[![cran |
|
|
|
checks](https://cranchecks.info/badges/worst/tdigest)](https://cranchecks.info/pkgs/tdigest) |
|
|
|
[![CRAN |
|
|
|
status](https://www.r-pkg.org/badges/version/tdigest)](https://www.r-pkg.org/pkg/tdigest) |
|
|
|
![Minimal R |
|
|
|
Version](https://img.shields.io/badge/R%3E%3D-3.5.0-blue.svg) |
|
|
|
![License](https://img.shields.io/badge/License-MIT-blue.svg) |
|
|
|
|
|
|
|
[![DOI](https://zenodo.org/badge/DOI/10.5281/zenodo.3357770.svg)](https://doi.org/10.5281/zenodo.3357770) |
|
|
|
|
|
|
|
# tdigest |
|
|
|
|
|
|
|
Wicked Fast, Accurate Quantiles Using ‘t-Digests’ |
|
|
@ -156,9 +162,9 @@ microbenchmark::microbenchmark( |
|
|
|
r_quantile = quantile(x, c(0, 0.01, 0.1, 0.2, 0.3, 0.4, 0.5, 0.6, 0.7, 0.8, 0.9, 0.99, 1)) |
|
|
|
) |
|
|
|
## Unit: microseconds |
|
|
|
## expr min lq mean median uq max neval |
|
|
|
## tdigest 5.321 7.033 19.31994 12.81 27.21 78.235 100 |
|
|
|
## r_quantile 63712.810 66272.069 69917.07935 67808.48 70713.83 136526.086 100 |
|
|
|
## expr min lq mean median uq max neval |
|
|
|
## tdigest 4.965 6.415 18.14998 9.289 26.7875 75.129 100 |
|
|
|
## r_quantile 59227.919 62490.644 65431.59551 64246.659 66578.5085 127656.518 100 |
|
|
|
``` |
|
|
|
|
|
|
|
## tdigest Metrics |
|
|
@ -167,7 +173,7 @@ microbenchmark::microbenchmark( |
|
|
|
| :----------- | -------: | ---: | --: | ---: | ----------: | ---: | -------: | ---: | |
|
|
|
| C | 3 | 0.27 | 350 | 0.65 | 46 | 0.36 | 26 | 0.11 | |
|
|
|
| R | 6 | 0.55 | 140 | 0.26 | 31 | 0.24 | 139 | 0.57 | |
|
|
|
| Rmd | 1 | 0.09 | 36 | 0.07 | 40 | 0.31 | 52 | 0.21 | |
|
|
|
| Rmd | 1 | 0.09 | 36 | 0.07 | 40 | 0.31 | 53 | 0.22 | |
|
|
|
| C/C++ Header | 1 | 0.09 | 10 | 0.02 | 10 | 0.08 | 26 | 0.11 | |
|
|
|
|
|
|
|
## Code of Conduct |
|
|
|