td_create | R Documentation |
Allocate a new histogram
td_create(compression = 100)
is_tdigest(td)
compression |
the input compression value; should be >= 1.0; this will control how aggressively the t-Digest compresses data together. The original t-Digest paper suggests using a value of 100 for a good balance between precision and efficiency. It will land at very small (think like 1e-6 percentile points) errors at extreme points in the distribution, and compression ratios of around 500 for large data sets (~1 million datapoints). Defaults to 100. |
td |
t-digest object |
a tdigest
object
Computing Extremely Accurate Quantiles Using t-Digests
td <- td_create(10)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.