From eb647d1242a30995e5e96ad750bbf545718056c9 Mon Sep 17 00:00:00 2001 From: Tushar Kanta Rath Date: Fri, 22 Sep 2023 19:15:33 +0530 Subject: [PATCH] Updating README.md to correct tdigest_percentile(digest, quantile) function (#29) This is to fix issue: https://github.com/tvondra/tdigest/issues/28 --- README.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 791d8cb..997edef 100644 --- a/README.md +++ b/README.md @@ -89,16 +89,16 @@ functions (with `tdigest` as the first argument). * `tdigest(value double precision, compression int)` -* `tdigest_percentile(digest tdigest, compression int, +* `tdigest_percentile(digest tdigest, quantile double precision)` -* `tdigest_percentile(digest tdigest, compression int, +* `tdigest_percentile(digest tdigest, quantiles double precision[])` -* `tdigest_percentile_of(digest tdigest, compression int, +* `tdigest_percentile_of(digest tdigest, value double precision)` -* `tdigest_percentile_of(digest tdigest, compression int, +* `tdigest_percentile_of(digest tdigest, values double precision[])` So for example you may do this: