td_value_at | R Documentation |
Return the value at the specified quantile
td_value_at(td, q)
## S3 method for class 'tdigest'
x[i, ...]
td |
t-Digest object |
q |
quantile (range 0:1) |
x |
a tdigest object |
i |
quantile (range 0:1) |
... |
unused |
the computed quantile (double
)
td <- td_create(10)
td_add(td, 0, 1) %>%
td_add(10, 1)
td_value_at(td, 0.1)
td_value_at(td, 0.5)
td[0.1]
td[0.5]
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.