powered by
Return the value at the specified quantile
td_value_at(td, q)# S3 method for tdigest [(x, i, ...)
# S3 method for tdigest [(x, i, ...)
the computed quantile (double)
double
t-Digest object
quantile (range 0:1)
a tdigest object
unused
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]
Run the code above in your browser using DataLab